mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 10:39:23 +00:00
Prevent spaces in nodenames
This commit is contained in:
parent
3297667ef8
commit
f6a16a89f2
@ -671,6 +671,8 @@ def create_group(inputdata, configmanager):
|
||||
def create_node(inputdata, configmanager):
|
||||
try:
|
||||
nodename = inputdata['name']
|
||||
if ' ' in nodename:
|
||||
raise exc.InvalidArgumentException('Name "{0}" is not supported'.format(nodename))
|
||||
del inputdata['name']
|
||||
attribmap = {nodename: inputdata}
|
||||
except KeyError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user