From 57931c339af45a3479e25fbf59d4f3a2d13e03bd Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Fri, 17 Jan 2025 00:44:47 -0500 Subject: [PATCH] cargo fmt --- src/blocking_api.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/blocking_api.rs b/src/blocking_api.rs index 3eaf1d0..17bc344 100644 --- a/src/blocking_api.rs +++ b/src/blocking_api.rs @@ -1242,14 +1242,15 @@ where // Schema Definition Sync (Tanzu RabbitMQ) // - pub fn schema_definition_sync_status(&self, node: Option<&str>) -> Result { + pub fn schema_definition_sync_status( + &self, + node: Option<&str>, + ) -> Result { let response = match node { Some(val) => { self.http_get(path!("tanzu", "osr", "schema", "status", val), None, None)? } - None => { - self.http_get("tanzu/osr/schema/status", None, None)? - } + None => self.http_get("tanzu/osr/schema/status", None, None)?, }; let response = response.json()?;