summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-13 10:12:26 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-13 10:12:26 +0000
commit9fe95bc72671e34f44c1ac1cc7e7e0fb330f1c02 (patch)
treedbe0efa9b7c447fcce688af6aa2eeac4d19744bf
parentb4d4b75982c39ab1f63698176fbfd68defebcc8e (diff)
fixed syntax error
-rwxr-xr-xworker/worker4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/worker b/worker/worker
index c27b860..0b909ed 100755
--- a/worker/worker
+++ b/worker/worker
@@ -65,7 +65,7 @@ class Alert
alert = Mauve::Proto::Alert.new
alert.id = @details['test_type']
- alert.summary = "#{@details['test_host']} #{@details['test_alert']]"
+ alert.summary = "#{@details['test_host']} #{@details['test_alert']}"
alert.detail = "The #{@details['test_type']} test failed against #{@details['test_host']}"
alert.raise_time = Time.now.to_i
update.alert << alert
@@ -85,7 +85,7 @@ class Alert
alert = Mauve::Proto::Alert.new
alert.id = @details['test_type']
- alert.summary = "#{@details['test_host']} #{@details['test_alert']]"
+ alert.summary = "#{@details['test_host']} #{@details['test_alert']}"
alert.detail = "The #{@details['test_type']} test failed against #{@details['test_host']}"
alert.clear_time = Time.now.to_i
update.alert << alert