Skip to content

Commit

Permalink
Updated cmd/drone-ecr/main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Ompragash committed May 15, 2024
1 parent e7e8dd8 commit 49e9dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/drone-ecr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func getECRClient(sess *session.Session, role string, externalId string, idToken
}

if idToken != "" {
tempFile, err := ioutil.TempFile("/tmp", "idToken-*.jwt")
tempFile, err := os.CreateTemp("/tmp", "idToken-*.jwt")
if err != nil {
log.Fatalf("Failed to create temporary file: %v", err)
}
Expand Down

0 comments on commit 49e9dde

Please sign in to comment.