diff --git a/lib/check/disk.py b/lib/check/disk.py index f8331ee..e3daa32 100644 --- a/lib/check/disk.py +++ b/lib/check/disk.py @@ -13,4 +13,6 @@ async def check_disk( check_config: dict): state = await get_data(asset, asset_config, check_config, QUERIES) + for disk in state.get('diskEntry', []): + disk['diskCapacity'] = int(disk['diskCapacity']) return state diff --git a/lib/version.py b/lib/version.py index a06f920..14a5c96 100644 --- a/lib/version.py +++ b/lib/version.py @@ -1,4 +1,4 @@ # Version string. Examples: # '3.0.0' # '3.0.0-alpha9' -__version__ = '3.0.0-alpha1' +__version__ = '3.0.0-alpha2'