We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd29e42 + f92f735 commit e62d3fbCopy full SHA for e62d3fb
1 file changed
kcidev/subcommands/maestro_results.py
@@ -49,6 +49,9 @@ def maestro_results(ctx, nodeid, nodes, limit, offset, filter, field):
49
config = ctx.obj.get("CFG")
50
instance = ctx.obj.get("INSTANCE")
51
url = config[instance]["api"]
52
+ if not nodeid and not nodes:
53
+ kci_err("--nodes or --nodes needs to be supplied")
54
+ sys.exit(-1)
55
if nodeid:
56
results = maestro_get_node(url, nodeid)
57
if nodes:
0 commit comments