提交 29f5007f 编写于 作者: T Thomas Stromberg

Use correct machine name for status check

上级 2e2a28be
......@@ -75,7 +75,8 @@ func Running(name string) ClusterController {
exit.WithError("Unable to find control plane", err)
}
hs, err := machine.Status(api, cp.Name)
machineName := driver.MachineName(*cc, cp)
hs, err := machine.Status(api, machineName)
if err != nil {
exit.WithError("Unable to get machine status", err)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册