mirror of https://github.com/kubernetes/kops.git
Log errors from detachInstance
This commit is contained in:
parent
16f1da9a86
commit
c260cf69b3
|
|
@ -157,6 +157,7 @@ func (c *RollingUpdateCluster) rollingUpdateInstanceGroup(group *cloudinstances.
|
|||
if err := c.detachInstance(u); err != nil {
|
||||
// If detaching a node fails, we simply proceed to the next one instead of
|
||||
// bubbling up the error.
|
||||
klog.Errorf("Failed to detach instance %q: %v", u.ID, err)
|
||||
skippedNodes++
|
||||
numSurge--
|
||||
if maxSurge > len(update)-skippedNodes {
|
||||
|
|
|
|||
Loading…
Reference in New Issue