From 470cc318780b8daad85bace042d1ca68ea3d8c45 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Fri, 5 Jan 2018 02:29:59 -0800 Subject: [PATCH] Pass --pushgateway-url for injected containers. (#284) Fixes #283 --- backup.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/backup.go b/backup.go index 8efbdf3f..d16f4580 100644 --- a/backup.go +++ b/backup.go @@ -1,7 +1,6 @@ package cmds import ( - "fmt" "os" "strings" "time" @@ -28,7 +27,6 @@ func NewCmdBackup() *cobra.Command { MaxNumRequeues: 5, } ) - opt.PushgatewayURL = fmt.Sprintf("http://stash-operator.%s.svc:56789", opt.Namespace) cmd := &cobra.Command{ Use: "backup",