Browse Source

Fix go vet issue

pull/13/head
Darren Shepherd 6 years ago
parent
commit
84b6c461b9
  1. 2
      pkg/server/server.go

2
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)
}
}

Loading…
Cancel
Save