2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Fix nodelist to use correct number of arguments

This commit is contained in:
Allen Lin37 2017-04-25 13:38:01 -04:00
parent b597702146
commit ca25e9fa78

View File

@ -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: