Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Jul 15, 2024
1 parent 6a69fb0 commit 170f6c0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gcloud-sdk/src/token_source/gce/gce_metadata_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,7 @@ impl GceMetadataClient {
pub async fn get(&self, path_and_query: PathAndQuery) -> crate::error::Result<String> {
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?;

Expand Down

0 comments on commit 170f6c0

Please sign in to comment.