Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Sep 6, 2024
1 parent 8a84db2 commit 4faefe2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ schedule_s3_creds_refresh() {
ttime="$((( (ttime + 59) / 60) * 60))";

# Regenerate creds if within `min(ttl / 5, 2hrs)` of keys expiring
local refresh_window="$(((ttl / 5) < 7200 ? 7200 : ttl / 5))";
local refresh_window="$(((ttl / 5) > 7200 ? 7200 : ttl / 5))";

if test "${ttime}" -le "${refresh_window}"; then
if devcontainer-utils-vault-s3-creds-generate; then
Expand Down

0 comments on commit 4faefe2

Please sign in to comment.