From 170f6c031d791ecbe7567cc0a6836a867530f7ba Mon Sep 17 00:00:00 2001 From: Abdulla Abdurakhmanov Date: Mon, 15 Jul 2024 20:58:50 +0200 Subject: [PATCH] Formatting fix --- gcloud-sdk/src/token_source/gce/gce_metadata_client.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gcloud-sdk/src/token_source/gce/gce_metadata_client.rs b/gcloud-sdk/src/token_source/gce/gce_metadata_client.rs index 6ab78f778..57b34b188 100644 --- a/gcloud-sdk/src/token_source/gce/gce_metadata_client.rs +++ b/gcloud-sdk/src/token_source/gce/gce_metadata_client.rs @@ -134,11 +134,7 @@ impl GceMetadataClient { pub async fn get(&self, path_and_query: PathAndQuery) -> crate::error::Result { match self.availability { GceMetadataClientAvailability::Available(ref client, ref metadata_server_host) => { - let url = format!( - "http://{}{}", - metadata_server_host, - path_and_query.as_str() - ); + let url = format!("http://{}{}", metadata_server_host, path_and_query.as_str()); let response = client.get(&url).send().await?;