Skip to content

Commit

Permalink
add vendor info to usage plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Dec 2, 2024
1 parent 383cc5c commit f579d73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/middlewared/middlewared/plugins/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ async def gather_network(self, context):
async def gather_system_version(self, context):
return {
'platform': f'TrueNAS-{await self.middleware.call("system.product_type")}',
'version': await self.middleware.call('system.version')
'version': await self.middleware.call('system.version'),
'is_vendored': await self.middleware.call('system.vendor.is_vendored'),
'vendor_name': await self.middleware.call('system.vendor.name')
}

async def gather_system(self, context):
Expand Down

0 comments on commit f579d73

Please sign in to comment.