mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-02 19:05:34 +00:00
For resource paths short enough, assume a collection name rather than resource name
This commit is contained in:
@ -225,6 +225,8 @@ def handle_path(path, operation, configmanager, inputdata=None):
|
||||
inputdata = msg.InputAttributes(pathcomponents, inputdata)
|
||||
create_group(inputdata.attribs, configmanager)
|
||||
return iterate_collections(configmanager.get_groups())
|
||||
if len(pathcomponents) == 2:
|
||||
iscollection = True
|
||||
if iscollection:
|
||||
if operation == "delete":
|
||||
return delete_nodegroup_collection(pathcomponents, configmanager)
|
||||
|
Reference in New Issue
Block a user