Properly format event_description.

Akinori MUSHA 9 years ago
parent
commit
923d779cf4
1 changed files with 7 additions and 7 deletions
  1. 7 7
      app/models/agents/shell_command_agent.rb

+ 7 - 7
app/models/agents/shell_command_agent.rb

@@ -28,13 +28,13 @@ module Agents
28 28
     event_description <<-MD
29 29
     Events look like this:
30 30
 
31
-      {
32
-        'command' => 'pwd',
33
-        'path' => '/home/Huginn',
34
-        'exit_status' => '0',
35
-        'errors' => '',
36
-        'output' => '/home/Huginn' 
37
-      }
31
+        {
32
+          "command": "pwd",
33
+          "path": "/home/Huginn",
34
+          "exit_status": "0",
35
+          "errors": "",
36
+          "output": "/home/Huginn"
37
+        }
38 38
     MD
39 39
 
40 40
     def default_options