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 19:59:53 +03:00
1 parent 4e9186812c
commit c88e5d6fe8
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}"