Fixed bug causing only a single preset configuration of custom_command_age and custom_comand_value to take affect.

This commit is contained in:
Zaid Abdulla committed 2015-02-01 20:00:20 +03:00
1 parent 5b60416a3e
commit 57874acbfe
1 file changed
+3
+3
View File
@@ -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}"