From e89285337e9500bd726ae990b68d349c9aabd4b0 Mon Sep 17 00:00:00 2001 From: Alex Hong Date: Fri, 14 Feb 2020 17:50:28 -0800 Subject: [PATCH] storage: switch to use live service for benchwrapper Change-Id: I3e1d34d21469e1b2b775ed703a3eb03caf589fdc Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/51993 Reviewed-by: Seth Hollyman --- storage/internal/benchwrapper/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/internal/benchwrapper/main.go b/storage/internal/benchwrapper/main.go index 7c4621f5aa07..5a313c2b3cf6 100644 --- a/storage/internal/benchwrapper/main.go +++ b/storage/internal/benchwrapper/main.go @@ -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)