Skip to content

Commit

Permalink
Replace open file with create in s3dep script
Browse files Browse the repository at this point in the history
  • Loading branch information
daved committed Sep 1, 2023
1 parent 121bb79 commit a998f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/s3-deployer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func getFileList() []string {
func prepareFile(p string) *s3.PutObjectInput {
fmt.Printf("Uploading %s\n", p)

file, err := os.Open(p)
file, err := os.Create(p)
if err != nil {
fmt.Println("Failed to open file", file, err)
os.Exit(1)
Expand Down

0 comments on commit a998f1e

Please sign in to comment.