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
4e9186812c
commit
c88e5d6fe8
1 file changed
+3
@@ -320,6 +320,9 @@ accumulateConfigurations = (presets, objects) ->
|
|||||||
"object_#{c.name}_#{objectHash}"
|
"object_#{c.name}_#{objectHash}"
|
||||||
when 'software_version'
|
when 'software_version'
|
||||||
'software_version'
|
'software_version'
|
||||||
|
when 'custom_command_age', 'custom_command_value'
|
||||||
|
[filename, commandName] = c.command.split(' ', 2)
|
||||||
|
"#{c.type}_#{filename}_#{commandName}"
|
||||||
else
|
else
|
||||||
"#{c.type}_#{c.name}"
|
"#{c.type}_#{c.name}"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user