mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Correct problem where path element was not parsed correctly
This commit is contained in:
parent
5451fa65e5
commit
f23e67618b
@ -78,7 +78,7 @@ def handle_path(path, operation, configmanager):
|
||||
path.startswith("/vm/")):
|
||||
nodeidx = path.find("/",1) + 1
|
||||
node = path[nodeidx:]
|
||||
node, _, element = path.partition("/")
|
||||
node, _, element = node.partition("/")
|
||||
if element not in nodeelements:
|
||||
raise Exception("Invalid element requested")
|
||||
plugroute = nodeelements[element]
|
||||
|
Loading…
Reference in New Issue
Block a user