2
0
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:
xuweibj 2019-03-18 01:37:14 -04:00
parent 5e69deaf92
commit 5b7fc319f2

View File

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