Skip to content

Commit 7018a69

Browse files
committed
Remove async
1 parent 92d0cd3 commit 7018a69

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/client/auth/aws.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ async fn authenticate_stream_inner(
150150
date,
151151
&server_first.sts_host,
152152
&server_first.server_nonce,
153-
)
154-
.await?;
153+
)?;
155154

156155
let mut client_second_payload_bytes = vec![];
157156
client_second_payload.to_writer(&mut client_second_payload_bytes)?;
@@ -214,7 +213,7 @@ pub(crate) async fn get_aws_credentials(credential: &Credential) -> Result<Crede
214213
}
215214
}
216215

217-
pub async fn compute_aws_sigv4_payload(
216+
pub fn compute_aws_sigv4_payload(
218217
creds: Credentials,
219218
date: DateTime<Utc>,
220219
host: &str,

0 commit comments

Comments
 (0)