Fixed bug causing only a single preset configuration of custom_command_age and custom_comand_value to take affect.
This commit is contained in:
1 parent
5b60416a3e
commit
57874acbfe
1 file changed
+3
@@ -320,6 +320,9 @@ accumulateConfigurations = (presets, objects) ->
|
||||
"object_#{c.name}_#{objectHash}"
|
||||
when 'software_version'
|
||||
'software_version'
|
||||
when 'custom_command_age', 'custom_command_value'
|
||||
[filename, commandName] = c.command.split(' ', 2)
|
||||
"#{c.type}_#{filename}_#{commandName}"
|
||||
else
|
||||
"#{c.type}_#{c.name}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user