Skip to content

Commit

Permalink
Update packaging/docker/fdb-aws-s3-credentials-fetcher/fdb-aws-s3-cre…
Browse files Browse the repository at this point in the history
…dentials-fetcher.go

Co-authored-by: Johannes Scheuermann <johscheuer@users.noreply.github.com>
  • Loading branch information
saintstack and johscheuer authored Feb 27, 2025
1 parent 7865832 commit 0fdab30
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,7 @@ func refreshCredentials(bucket, region, credFile string) error {
return fmt.Errorf("failed to get credentials: %v", err)
}

// Write credentials to file
if err := writeCredentialsFile(bucket, region, credFile, creds.AccessKeyID, creds.SecretAccessKey, creds.SessionToken); err != nil {
return fmt.Errorf("failed to write credentials: %v", err)
}

return nil
return writeCredentialsFile(bucket, region, credFile, creds.AccessKeyID, creds.SecretAccessKey, creds.SessionToken)
}

func main() {
Expand Down

0 comments on commit 0fdab30

Please sign in to comment.