log configuration changes

Andrew Cantino 9 年之前
父节点
当前提交
f6a9957cad
共有 1 个文件被更改,包括 1 次插入0 次删除
  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