From 185c6cb3a4938d37518dbc7916639415a27f7cf3 Mon Sep 17 00:00:00 2001 From: Eric Egli <43848365+eegli@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:15:24 +0200 Subject: [PATCH] fix tests --- src/sts/assume_role.rs | 2 +- src/sts/session_token.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sts/assume_role.rs b/src/sts/assume_role.rs index 6f5289d..dd777b0 100644 --- a/src/sts/assume_role.rs +++ b/src/sts/assume_role.rs @@ -90,7 +90,7 @@ impl ShortTermCredentials for AssumeRole { &self, config: &CommonStsConfig, mfa_token: String, - lt_profile: &LongTermProfile, + lt_profile: &LongTermProfile<'_>, ) -> anyhow::Result { Ok(ShortTermProfile { access_key: "sts-access-key".to_owned(), diff --git a/src/sts/session_token.rs b/src/sts/session_token.rs index 6fcef84..edd392e 100644 --- a/src/sts/session_token.rs +++ b/src/sts/session_token.rs @@ -53,7 +53,7 @@ impl ShortTermCredentials for SessionToken { &self, config: &CommonStsConfig, mfa_token: String, - lt_profile: &LongTermProfile, + lt_profile: &LongTermProfile<'_>, ) -> anyhow::Result { Ok(ShortTermProfile { access_key: "sts-access-key".to_owned(),