diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-03-04 10:14:37 +0100 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-03-04 10:14:37 +0100 |
commit | f26a8c3d231f202aa2c468d96971f0d80172f393 (patch) | |
tree | d3c2231d9684758f14eaa7122b5e49df4be6a885 /cli/objects/disks.py | |
parent | 9a11fd834630545e0fc1d5c55fad6ff34c941f30 (diff) |
improve missing clients error reporting in multiple commands
All the commands that need target clients now have a more descriptive
error message when the clients of the command are missing.
Diffstat (limited to 'cli/objects/disks.py')
-rw-r--r-- | cli/objects/disks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/disks.py b/cli/objects/disks.py index 6c9847c..c7315af 100644 --- a/cli/objects/disks.py +++ b/cli/objects/disks.py @@ -93,7 +93,7 @@ class OgDisk(): for l in parsed_args.client_ip: ips.add(l) if not ips: - print("No clients found") + print("Missing --client-ip, or --room-id/--center-id. No clients provided.") return None payload = {'clients': parsed_args.client_ip, 'type': disk_type_map[parsed_args.type], 'disk': str(parsed_args.num), |