Allow dry-run in ShellCommandAgent

Akinori MUSHA %!s(int64=9) %!d(string=hace) años
padre
commit
4ca6504314
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      app/models/agents/shell_command_agent.rb

+ 2 - 0
app/models/agents/shell_command_agent.rb

@@ -2,6 +2,8 @@ module Agents
2 2
   class ShellCommandAgent < Agent
3 3
     default_schedule "never"
4 4
 
5
+    can_dry_run!
6
+
5 7
     def self.should_run?
6 8
       ENV['ENABLE_INSECURE_AGENTS'] == "true"
7 9
     end