Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R4R: runsim pushes logs to S3 bucket #4677

Merged
merged 7 commits into from
Jul 4, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added error check to the second log push
  • Loading branch information
mircea-c committed Jul 3, 2019
commit 7ed5a86501be6e59a3640339c63ad6df492afd9c
5 changes: 4 additions & 1 deletion contrib/runsim/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ func worker(id int, seeds <-chan int) {
}
}
log.Printf("[W%d] Seed %d: OK", id, seed)
_, _, _ = pushLogs(stdOut, stdErr, logObjKey)
_, _, err = pushLogs(stdOut, stdErr, logObjKey)
if err != nil {
log.Printf("%v", err)
}
}
log.Printf("[W%d] no seeds left, shutting down", id)
}
Expand Down