From b4d4b75982c39ab1f63698176fbfd68defebcc8e Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 13 Nov 2012 10:11:37 +0000 Subject: Use summary not subject --- worker/worker | 8 ++++---- 1 file 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 -- cgit v1.2.1