From b2701ec763f40658bd28e8738ae99fc4428224c1 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 24 Nov 2017 13:56:21 -0500 Subject: [PATCH] Remove excess props --- ofborg/src/message/buildjob.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ofborg/src/message/buildjob.rs b/ofborg/src/message/buildjob.rs index 522aadc..f11ddb7 100644 --- a/ofborg/src/message/buildjob.rs +++ b/ofborg/src/message/buildjob.rs @@ -2,7 +2,6 @@ use ofborg::message::{Pr,Repo}; use ofborg::message::buildresult; use ofborg::worker; use serde_json; -use amqp::protocol; #[derive(Serialize, Deserialize, Debug)] pub struct BuildJob { @@ -42,11 +41,6 @@ impl Actions { success: false }; - let props = protocol::basic::BasicProperties { - content_type: Some("application/json".to_owned()), - ..Default::default() - }; - return vec![ worker::publish_serde_action( Some("build-results".to_owned()),