summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eriksen <andreer@yahooinc.com>2022-10-03 13:40:16 +0200
committerAndreas Eriksen <andreer@yahooinc.com>2022-10-03 13:40:16 +0200
commitcc2ce5064e70dd038e02b85331dbe605471b69de (patch)
tree0d63f47c36b8500f4ff73fdb84feef0e942e547e
parentfc64c6d79ff86e5368cff3f71677e96abe6e93d0 (diff)
ha parameter store client WIP
-rw-r--r--vespa-athenz/src/main/java/com/yahoo/vespa/athenz/aws/AwsCredentials.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/aws/AwsCredentials.java b/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/aws/AwsCredentials.java
index c9a5dbbcbfc..e3bf7bb02d3 100644
--- a/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/aws/AwsCredentials.java
+++ b/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/aws/AwsCredentials.java
@@ -69,7 +69,7 @@ public class AwsCredentials implements AutoCloseable {
}
/*
- * Checks credential expiration, returns true if it will expipre in the next MIN_EXPIRY minutes
+ * Checks credential expiration, returns true if it will expire in the next MIN_EXPIRY minutes
*/
static boolean shouldRefresh(AwsTemporaryCredentials credentials) {
Instant expiration = Optional.ofNullable(credentials).map(AwsTemporaryCredentials::expiration).orElse(Instant.EPOCH);