Skip to content

Commit

Permalink
Dump the output once command has finished
Browse files Browse the repository at this point in the history
  • Loading branch information
jnwhiteh committed Feb 1, 2011
1 parent 8905b9f commit 303bfbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/client.go
Expand Up @@ -72,6 +72,8 @@ func RunDistributedBenchmark(workers []*Worker, args *Args) {
log.Printf("[%s] Got results", worker.id)
if call.Error != nil {
log.Printf("[%s] Error state reported: %s", worker.id, call.Error.String())
} else {
log.Printf("[%s] %s", worker.id, worker.result.Stdout)
}
}
}
Expand Down

0 comments on commit 303bfbe

Please sign in to comment.