diff --git a/cmd/root.go b/cmd/root.go index 1f1177fdd..7ab7693ce 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -55,8 +55,6 @@ func init() { userAgent = "cloud-sql-proxy/" + versionString } - - // Execute adds all child commands to the root command and sets flags appropriately. // This is called by main.main(). It only needs to happen once to the rootCmd. func Execute() { diff --git a/cmd/root_test.go b/cmd/root_test.go index 536603e57..fe327b64a 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -104,8 +104,8 @@ func TestUserAgentWithOperatorVersionFlag(t *testing.T) { []string{ "--runtime", "cloud-sql-proxy-operator/0.0.1", - "proj:region:inst" - } + "proj:region:inst", + }, ) if err != nil { t.Fatalf("want error = nil, got = %v", err)