diff options
author | Christoph Helma <helma@in-silico.de> | 2010-01-11 15:27:45 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2010-01-11 15:27:45 +0100 |
commit | 253e15cae162d88a269cc86608dd3334cab29cf9 (patch) | |
tree | b946b23877eede054263d38ffc9f9040db55a82b | |
parent | 82f814e44651baa561d41ba1226cd7d5b90bd1f5 (diff) |
Task creation under passenger fixed
-rw-r--r-- | lib/task.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/task.rb b/lib/task.rb index 8dbd578..e50a982 100644 --- a/lib/task.rb +++ b/lib/task.rb @@ -22,12 +22,13 @@ module OpenTox @@config[:services]["opentox-task"] end - def start - RestClient.put File.join(@uri,'started'), nil + def started + #LOGGER.info File.join(@uri,'started') + RestClient.put File.join(@uri,'started'), {} end def cancel - RestClient.put File.join(@uri,'cancelled'), nil + RestClient.put File.join(@uri,'cancelled'), {} end def completed(uri) |