From 39cd53a88069f21412f2842c5acc945ed81737a4 Mon Sep 17 00:00:00 2001 From: Paul Butler Date: Thu, 26 Oct 2023 10:56:26 -0400 Subject: [PATCH] make streams optional --- core/src/messages/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/messages/mod.rs b/core/src/messages/mod.rs index 91dbc3b03..f93aa7fbb 100644 --- a/core/src/messages/mod.rs +++ b/core/src/messages/mod.rs @@ -29,10 +29,10 @@ async fn add_jetstream_stream( pub async fn initialize_jetstreams( jetstream: &async_nats::jetstream::Context, ) -> anyhow::Result<()> { - add_jetstream_stream::(jetstream).await?; - add_jetstream_stream::(jetstream).await?; - add_jetstream_stream::(jetstream).await?; - add_jetstream_stream::(jetstream).await?; + let _ = add_jetstream_stream::(jetstream).await; + let _ = add_jetstream_stream::(jetstream).await; + let _ = add_jetstream_stream::(jetstream).await; + let _ = add_jetstream_stream::(jetstream).await; Ok(()) }