提交 e8015d94 编写于 作者: T Thomas Stromberg

Fix awkwardly formatted error message: out is not a command-line.

上级 d8f2e990
......@@ -170,7 +170,7 @@ func (k *KubeadmBootstrapper) StartCluster(k8s config.KubernetesConfig) error {
out, err := k.c.CombinedOutput(b.String())
if err != nil {
return errors.Wrapf(err, "kubeadm init error %s running command: %s", b.String(), out)
return errors.Wrapf(err, "kubeadm init failed: %s\n%s\n", b.String(), out)
}
if version.LT(semver.MustParse("1.10.0-alpha.0")) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册