From 84b6c461b9bf8859733a08ae234d791d5b3987d5 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Thu, 24 Jan 2019 10:51:24 -0700 Subject: [PATCH] Fix go vet issue --- pkg/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/server.go b/pkg/server/server.go index 102fdc456f..8a1cc93ede 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -179,7 +179,7 @@ func writeKubeConfig(certs string, tlsConfig *dynamiclistener.UserConfig, config if err == nil { os.Chmod(kubeConfig, os.FileMode(mode)) } else { - logrus.Errorf("failed to set %s to mode %s: %v", kubeConfig, mode, err) + logrus.Errorf("failed to set %s to mode %s: %v", kubeConfig, os.FileMode(mode), err) } }