Explorar o código

Properly format event_description.

Akinori MUSHA %!s(int64=10) %!d(string=hai) anos
pai
achega
923d779cf4
Modificáronse 1 ficheiros con 7 adicións e 7 borrados
  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