mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-14 16:51:31 +00:00
Replace '/' in '-' in ipmi names
'/' confuses our '/' delimited namespace. Use '-' instead. '_or_' was considered, but other meanings could be applied other than '/'.
This commit is contained in:
@ -58,7 +58,7 @@ def hex2bin(hexstring):
|
||||
return bytearray(bytedata)
|
||||
|
||||
def simplify_name(name):
|
||||
return name.lower().replace(' ', '_')
|
||||
return name.lower().replace(' ', '_').replace('/', '-')
|
||||
|
||||
|
||||
def sanitize_invdata(indata):
|
||||
|
Reference in New Issue
Block a user