Skip to content

Commit

Permalink
Re-add templating for now...
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Leong <alex@buoyant.io>
  • Loading branch information
adleong committed Feb 8, 2019
1 parent 247a337 commit 9c41a9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ impl<'a> TryFrom<&'a Strings> for Config {
tls_controller: controller_namespace?,
};

let proxy_id = strings.get(ENV_PROXY_ID)?.unwrap_or_default();
let proxy_id_template = strings.get(ENV_PROXY_ID)?.unwrap_or(String::new());
let proxy_id = proxy_id_template.replace(VAR_POD_NAMESPACE, &namespaces.pod);

let tls_controller_identity = tls_controller_identity?;
let control_host_and_port = control_host_and_port?;
Expand Down

0 comments on commit 9c41a9e

Please sign in to comment.