Skip to content

Commit

Permalink
CARL+EDGAR -> Initialize TLS CryptoProvider earlier to allow usage in…
Browse files Browse the repository at this point in the history
… OpenTelemetry.
  • Loading branch information
mbfm committed Dec 18, 2024
1 parent f430540 commit 06ed38c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opendut-carl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ mod auth;

#[tracing::instrument]
pub async fn create_with_telemetry(settings_override: config::Config) -> anyhow::Result<()> {
opendut_util::crypto::install_default_provider();

let settings = settings::load_with_overrides(settings_override)?;

let service_instance_id = format!("carl-{}", Uuid::new_v4());
Expand Down
2 changes: 2 additions & 0 deletions opendut-edgar/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#[tokio::main]
async fn main() -> anyhow::Result<()> {
opendut_util::crypto::install_default_provider();

opendut_edgar::cli().await
}

0 comments on commit 06ed38c

Please sign in to comment.