Skip to content

Commit

Permalink
edit key
Browse files Browse the repository at this point in the history
  • Loading branch information
khw7096 committed Aug 10, 2018
1 parent 68aa455 commit 9e6ddc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
log.Fatal(err)
}
ext := filepath.Ext(path)
key := fmt.Sprintf("%s/%s/%s/%s%s", *projectPtr, *episodePtr, *scenePtr, *cutPtr, ext)
key := *projectPtr + "/" + *episodePtr + "/" + *scenePtr + "/" + *cutPtr + ext
s := session.New(&aws.Config{Region: aws.String(*regionPtr)})
err = uploadS3(s, *bucketPtr, key, path)
if err != nil {
Expand Down

0 comments on commit 9e6ddc2

Please sign in to comment.