2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-15 10:54:18 +00:00

Merge pull request #6112 from xuweibj/I6111

fix issue 6111, make args passed into be string
This commit is contained in:
zet809
2019-03-18 16:04:30 +08:00
committed by GitHub
@@ -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