mirror of
https://github.com/OVERLORD7F/SVMU.git
synced 2025-10-01 21:52:47 +03:00
check
This commit is contained in:
@@ -20,7 +20,7 @@ def data_pools(base_url , api_key): #output data pool info
|
||||
print(f"type: {x['type']}")
|
||||
print(f"status: {x['status']}")
|
||||
print(f"size: {round((x['size'] / 1024), 1)}Gb")
|
||||
print("-" * 44)
|
||||
print("-" * 44)
|
||||
|
||||
else:
|
||||
print(f"Failed to retrieve data {response.status_code}")
|
2
main.py
2
main.py
@@ -130,7 +130,7 @@ while(menu_choice != ""): #main menu loop
|
||||
cluster_info(base_url , api_key)
|
||||
|
||||
if menu_choice == "4":
|
||||
print("\033[H\033[2J", end="")
|
||||
print("\033[H\033[2J", end="")
|
||||
for x in vm_uuids:
|
||||
vm_info(base_url , api_key , x)
|
||||
|
||||
|
@@ -17,7 +17,6 @@ def vm_info_short(base_url , api_key): #output data pool info
|
||||
print(" "*16,f"VM {x['verbose_name']}")
|
||||
print(f"UID: {x['id']}")
|
||||
print("-" * 41)
|
||||
#
|
||||
|
||||
else:
|
||||
print(f"Failed to retrieve data {response.status_code}")
|
Reference in New Issue
Block a user