提交 f805be63 编写于 作者: M Medya Gh

add timeout for node label too

上级 f36da5f0
......@@ -844,7 +844,7 @@ func (k *Bootstrapper) applyNodeLabels(cfg config.ClusterConfig) error {
if _, err := k.c.RunCmd(cmd); err != nil {
if ctx.Err() == context.DeadlineExceeded {
return errors.Wrapf(err, "timeout apply node labels")
return errors.Wrapf(err, "timeout apply labels")
}
return errors.Wrapf(err, "applying node labels")
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册