mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Fix nodelist to use correct number of arguments
This commit is contained in:
parent
b597702146
commit
ca25e9fa78
@ -47,7 +47,7 @@ def main():
|
||||
requestargs=args[1:]
|
||||
nodetype='noderange'
|
||||
if len(args) > 1:
|
||||
exitcode=client.printattributes(session,args,requestargs,showtype,nodetype,noderange,options)
|
||||
exitcode=client.printattributes(session,requestargs,showtype,nodetype,noderange,options)
|
||||
else:
|
||||
for res in session.read(nodelist):
|
||||
if 'error' in res:
|
||||
|
Loading…
Reference in New Issue
Block a user