log configuration changes

Andrew Cantino 9 anni fa
parent
commit
f6a9957cad
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/concerns/agent_controller_concern.rb

+ 1 - 0
app/concerns/agent_controller_concern.rb

@@ -69,6 +69,7 @@ module AgentControllerConcern
69 69
           end
70 70
         when 'configure'
71 71
           target.update!(options: target.options.merge(interpolated['configure_options']))
72
+          log "Agent '#{target.name}' is configured with #{interpolated['configure_options'].inspect}"
72 73
         when ''
73 74
           # Do nothing
74 75
         else