Skip to content

Commit

Permalink
storage: switch to use live service for benchwrapper
Browse files Browse the repository at this point in the history
Change-Id: I3e1d34d21469e1b2b775ed703a3eb03caf589fdc
Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/51993
Reviewed-by: Seth Hollyman <[email protected]>
  • Loading branch information
hongalex committed Feb 15, 2020
1 parent 2875e82 commit e892853
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storage/internal/benchwrapper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ func main() {
log.Fatalf("usage: %s --port=8081", os.Args[0])
}

if os.Getenv("STORAGE_EMULATOR_HOST") == "" {
log.Fatal("This benchmarking server only works when connected to an emulator. Please set STORAGE_EMULATOR_HOST.")
}
// if os.Getenv("STORAGE_EMULATOR_HOST") == "" {
// log.Fatal("This benchmarking server only works when connected to an emulator. Please set STORAGE_EMULATOR_HOST.")
// }

ctx := context.Background()
c, err := storage.NewClient(ctx)
Expand Down

0 comments on commit e892853

Please sign in to comment.