Log errors from detachInstance

This commit is contained in:
Ole Markus With 2022-06-27 19:58:16 +02:00
parent 16f1da9a86
commit c260cf69b3
1 changed files with 1 additions and 0 deletions

View File

@ -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 {