Skip to content

Commit

Permalink
Fix upload to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
glinscott committed Apr 15, 2018
1 parent c061763 commit 3fb4406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/src/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func uploadNetwork(c *gin.Context) {
}

// TODO(gary): Make this more generic - upload to s3 for now
cmd := exec.Command("aws", "s3", "cp", network.Path, "s3://lczero/networks/")
cmd := exec.Command("aws", "s3", "cp", network.Path, "s3://lczero/" + network.Path)
err = cmd.Run()
if err != nil {
log.Println(err.Error())
Expand Down

0 comments on commit 3fb4406

Please sign in to comment.