fix log message for self-signed cert generation

This commit is contained in:
Seth Jennings 2016-05-05 16:56:47 -05:00
parent fe4d83dc81
commit 62d6fea561

View File

@ -698,7 +698,7 @@ func (s *GenericAPIServer) Run(options *ServerRunOptions) {
if err := crypto.GenerateSelfSignedCert(s.ClusterIP.String(), options.TLSCertFile, options.TLSPrivateKeyFile, alternateIPs, alternateDNS); err != nil {
glog.Errorf("Unable to generate self signed cert: %v", err)
} else {
glog.Infof("Using self-signed cert (%options, %options)", options.TLSCertFile, options.TLSPrivateKeyFile)
glog.Infof("Using self-signed cert (%s, %s)", options.TLSCertFile, options.TLSPrivateKeyFile)
}
}
}