mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add a stub for ID sanitiser (at the moment same as hostname)
This commit is contained in:
parent
637144c841
commit
86623f913d
1 changed files with 2 additions and 0 deletions
|
@ -55,5 +55,7 @@ class InputSanitizer(object):
|
|||
'''
|
||||
return re.sub(r'[^a-zA-Z0-9.-]', '', InputSanitizer.trim(value))
|
||||
|
||||
id = hostname
|
||||
|
||||
|
||||
clean = InputSanitizer()
|
||||
|
|
Loading…
Add table
Reference in a new issue