We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d906d7 commit f7763f0Copy full SHA for f7763f0
scripts/maintenance/computational-clusters/autoscaled_monitor/ssh.py
@@ -139,7 +139,7 @@ async def get_available_disk_space(
139
140
# Available disk space will be captured here
141
available_space = stdout.read().decode("utf-8").strip()
142
- return ByteSize(available_space)
+ return ByteSize(available_space if available_space else 0)
143
except (
144
paramiko.AuthenticationException,
145
paramiko.SSHException,
0 commit comments