mirror of
https://github.com/OVERLORD7F/SVMU.git
synced 2025-10-01 21:52:47 +03:00
LEEETS GOOOO <50 lines !!1
- Ping / API key checks are back! #13 - Changes in config import - Moved everything in main to menu loop because of reasons #2 - New function check_config - Currently selected pools / vms .. are shown in main menu #12 - Renamed a few functions
This commit is contained in:
@@ -108,7 +108,7 @@ def get_vm_name(base_url, api_key, vm_uuids):
|
||||
response = requests.get(url, headers={'Authorization': api_key})
|
||||
if response.status_code == 200:
|
||||
vm_name = response.json()
|
||||
return (f"{vm_name['verbose_name']}")
|
||||
return (f"{vm_name['verbose_name']}")
|
||||
|
||||
def vm_info(base_url, api_key, vm_uuids):
|
||||
domain_info = get_domain_info(base_url, api_key, vm_uuids)
|
||||
|
Reference in New Issue
Block a user