Remove excess props

This commit is contained in:
Graham Christensen 2017-11-24 13:56:21 -05:00
parent fd3cc55b2a
commit b2701ec763
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -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()),