mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
volumes: Add logging when removing node fails
This commit is contained in:
parent
49d1814b3a
commit
b7edfda828
@ -309,7 +309,8 @@ func (adc *attachDetachController) nodeDelete(obj interface{}) {
|
||||
|
||||
nodeName := types.NodeName(node.Name)
|
||||
if err := adc.desiredStateOfWorld.DeleteNode(nodeName); err != nil {
|
||||
glog.V(10).Infof("%v", err)
|
||||
// This might happen during drain, but we still want it to appear in our logs
|
||||
glog.Infof("error removing node %q from desired-state-of-world: %v", nodeName, err)
|
||||
}
|
||||
|
||||
adc.processVolumesInUse(nodeName, node.Status.VolumesInUse)
|
||||
|
Loading…
Reference in New Issue
Block a user