fix issue

pull/410/head
vapao 2021-08-16 21:38:14 +08:00
parent d2ca91d317
commit c83eeabcda
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ def fetch_host_extend(ssh):
response['private_ip_address'].append(ip)
elif index == 3:
response['os_name'] = line
else:
elif line:
response['disk'].append(round(int(line) / 1024 / 1024 / 1024, 0))
return response