From a8e017b945dbc5014896f13ca6b8e43ad9cadbfc Mon Sep 17 00:00:00 2001 From: Chi Zhang Date: Sun, 8 Dec 2019 23:16:44 -0800 Subject: [PATCH] remove unused test flag (#540) --- test/e2e/e2e_flags.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/e2e/e2e_flags.go b/test/e2e/e2e_flags.go index b5a4575de..e8db5c803 100644 --- a/test/e2e/e2e_flags.go +++ b/test/e2e/e2e_flags.go @@ -27,15 +27,11 @@ var Flags = initializeFlags() // ClientFlags define the flags that are needed to run the e2e tests. type ClientFlags struct { - EmitMetrics bool DockerConfigJSON string } func initializeFlags() *ClientFlags { var f ClientFlags - // emitmetrics is a required flag for running periodic test jobs, add it here as a no-op to avoid the error - flag.BoolVar(&f.EmitMetrics, "emitmetrics", false, - "Set this flag to true if you would like tests to emit metrics, e.g. latency of resources being realized in the system.") dockerConfigJSON := os.Getenv("DOCKER_CONFIG_JSON") flag.StringVar(&f.DockerConfigJSON, "dockerconfigjson", dockerConfigJSON,