Skip to content

Commit

Permalink
Remove unneeded variables from compat query engine
Browse files Browse the repository at this point in the history
  • Loading branch information
tailhook committed Jul 6, 2018
1 parent fbe4522 commit 70c0be4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/daemon/query/compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ impl Responder {
cur_vars.insert(String::from("node"),
Json::String(self.hostname.clone()));
}
cur_vars.insert(String::from("deployment_id"),
Json::String(id.to_string()));
cur_vars.insert(String::from("verwalter_version"),
Json::String(concat!("v", env!("CARGO_PKG_VERSION")).into()));
cur_vars.insert(String::from("timestamp"),
Json::String(format_rfc3339(SystemTime::now()).to_string()));
to_render.insert(role_name.clone(), Json::Object(cur_vars));
Expand Down

0 comments on commit 70c0be4

Please sign in to comment.