mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 11:12:04 +00:00
fix issue 6111, make args passed into be string
This commit is contained in:
parent
5e69deaf92
commit
5b7fc319f2
@ -101,7 +101,7 @@ class Server(object):
|
||||
new_args=[]
|
||||
if req['args']:
|
||||
for a in req['args']:
|
||||
new_args.append(a)
|
||||
new_args.append(str(a))
|
||||
# call the function in the specified manager
|
||||
func(req['nodeinfo'], new_args)
|
||||
# after the method returns, the request should be handled
|
||||
|
Loading…
x
Reference in New Issue
Block a user