diff options
-rwxr-xr-x | worker/worker | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/worker/worker b/worker/worker index 6e4c9df..c27b860 100755 --- a/worker/worker +++ b/worker/worker @@ -65,8 +65,8 @@ class Alert alert = Mauve::Proto::Alert.new alert.id = @details['test_type'] - alert.subject = "#{@details['test_host']} #{@details['test_alert']]" - alert.detail = "The test of type #{@details['test_type']} failed" + 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,8 +85,8 @@ class Alert alert = Mauve::Proto::Alert.new alert.id = @details['test_type'] - alert.subject = "#{@details['test_host']} #{@details['test_alert']]" - alert.detail = "The test of type #{@details['test_type']} failed" + 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 |