Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Jan 17, 2025
1 parent 054f5eb commit 57931c3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/blocking_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1242,14 +1242,15 @@ where
// Schema Definition Sync (Tanzu RabbitMQ)
//

pub fn schema_definition_sync_status(&self, node: Option<&str>) -> Result<SchemaDefinitionSyncStatus> {
pub fn schema_definition_sync_status(
&self,
node: Option<&str>,
) -> Result<SchemaDefinitionSyncStatus> {
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()?;

Expand Down

0 comments on commit 57931c3

Please sign in to comment.