Commit 39801d6
Fix gofmt trailing newline and align GCP IAM expiry check with cache buffer
- Remove trailing blank line in oidc_credential.go (gofmt failure)
- Change GCP IAM minimum-remaining check from 1 minute to 5 minutes
to match the 5-minute early-refresh buffer in GetOrRefreshOIDCToken,
preventing unnecessary STS/IAM calls for short-lived tokens
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a2880d7 commit 39801d6
2 files changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
797 | 797 | | |
798 | 798 | | |
799 | 799 | | |
800 | | - | |
| 800 | + | |
801 | 801 | | |
802 | 802 | | |
803 | 803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
0 commit comments