Skip to content

Commit

Permalink
opt
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Nov 26, 2024
1 parent 4f59e65 commit 9822adb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/check/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ async def get_luns(asset: Asset, check_config: dict, token: str):
'sparse': lun['sparse'], # bool
'volsize': int(lun['volsize']), # int
'volblocksize': int(lun['volblocksize']), # int
'usage_available': as_int(usage, 'available'), # int
'usage_total': as_int(usage, 'total'), # int
'usage_data': as_int(usage, 'data'), # int
'usage_compressratio': as_float(usage, 'compressratio'), # float
'usage_snapshots': as_float(usage, 'snapshots'), # float
'usage_loading': usage.get('loading'), # bool
'usage_available': as_int(usage, 'available'), # int?
'usage_total': as_int(usage, 'total'), # int?
'usage_data': as_int(usage, 'data'), # int?
'usage_compressratio': as_float(usage, 'compressratio'), # float?
'usage_snapshots': as_float(usage, 'snapshots'), # float?
'usage_loading': usage.get('loading'), # bool?
'status': lun.get('status'), # str
'stmfguid': stmfguid, # str
})
Expand Down

0 comments on commit 9822adb

Please sign in to comment.