Browse Source

Properly format event_description.

Akinori MUSHA 10 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
     event_description <<-MD
     Events look like this:
 
-      {
-        'command' => 'pwd',
-        'path' => '/home/Huginn',
-        'exit_status' => '0',
-        'errors' => '',
-        'output' => '/home/Huginn' 
-      }
+        {
+          "command": "pwd",
+          "path": "/home/Huginn",
+          "exit_status": "0",
+          "errors": "",
+          "output": "/home/Huginn"
+        }
     MD
 
     def default_options