Merge pull request #102940 from gy95/sche

when new manager failed should return err
This commit is contained in:
Kubernetes Prow Robot 2021-06-17 14:08:17 -07:00 committed by GitHub
commit f1d9db4381
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ func getRenewSubCommands(out io.Writer, kdir string) []*cobra.Command {
// Get a renewal manager for a actual Cluster configuration
rm, err := renewal.NewManager(&internalcfg.ClusterConfiguration, kdir)
if err != nil {
return nil
return err
}
// Renew certificates