Unverified Commit a939decf authored by Hussein Galal's avatar Hussein Galal Committed by GitHub

fix a runtime core panic (#3627)

parent 55fe4ff5
......@@ -182,7 +182,9 @@ func (c *Cluster) deleteNodePasswdSecret(ctx context.Context) {
logrus.Infof("waiting for node name to be set")
continue
}
if c.runtime == nil {
// the core factory may not yet be initialized so we
// want to wait until it is so not to evoke a panic.
if c.runtime.Core == nil {
logrus.Infof("runtime is not yet initialized")
continue
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment