We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6890b commit 54a308bCopy full SHA for 54a308b
cmd/kubeadm/app/phases/copycerts/copycerts.go
@@ -89,7 +89,7 @@ func UploadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration,
89
fmt.Printf("[upload-certs] Storing the certificates in Secret %q in the %q Namespace\n", kubeadmconstants.KubeadmCertsSecret, metav1.NamespaceSystem)
90
decodedKey, err := hex.DecodeString(key)
91
if err != nil {
92
- return err
+ return errors.Wrap(err, "error decoding certificate key")
93
}
94
tokenID, err := createShortLivedBootstrapToken(client)
95
0 commit comments