diff --git a/charts/broker-2-http/values.yaml b/charts/broker-2-http/values.yaml index 7951903..38f8329 100644 --- a/charts/broker-2-http/values.yaml +++ b/charts/broker-2-http/values.yaml @@ -159,7 +159,7 @@ serviceAccount: ### application stuff app: - logLevel: "info" + log_level: "info" topic_prefix: "" # http-2-broker only, i.e. "organization.facility.system", you should consciously set this value username: "" # needed credential for clients calling HTTP endpoints other than /healthcheck password: "" # needed credential for clients calling HTTP endpoints other than /healthcheck diff --git a/charts/http-2-broker/values.yaml b/charts/http-2-broker/values.yaml index 207941a..b80e63d 100644 --- a/charts/http-2-broker/values.yaml +++ b/charts/http-2-broker/values.yaml @@ -127,7 +127,7 @@ serviceAccount: ### application stuff app: - logLevel: "info" + log_level: "info" other_proxy: url: "" # this should be the complete URL username: "" # needed credential for clients calling HTTP endpoints other than /healthcheck diff --git a/http-2-broker/src/main.rs b/http-2-broker/src/main.rs index ea26705..c732c6c 100644 --- a/http-2-broker/src/main.rs +++ b/http-2-broker/src/main.rs @@ -157,6 +157,7 @@ pub async fn main() { if exchange_result.is_err() { let err = exchange_result.unwrap_err(); tracing::error!("could not create exchange: {}", err); + connection.close().await.expect("Could not close connection after failed exchange creation"); std::process::exit(1); } }