diff --git a/src/middlewared/middlewared/plugins/apps/resources.py b/src/middlewared/middlewared/plugins/apps/resources.py index 4613e06d41bfd..4c833d170d3e5 100644 --- a/src/middlewared/middlewared/plugins/apps/resources.py +++ b/src/middlewared/middlewared/plugins/apps/resources.py @@ -120,7 +120,7 @@ async def available_space(self): Returns space available in bytes in the configured apps pool which apps can consume """ await self.middleware.call('docker.state.validate') - return (await self.middleware.call('filesystem.statfs', IX_APPS_MOUNT_PATH))['free_bytes'] + return (await self.middleware.call('filesystem.statfs', IX_APPS_MOUNT_PATH))['avail_bytes'] @accepts(roles=['APPS_READ']) @returns(Dict('gpu_choices', additional_attrs=True))