mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
add and clear err message in RemoveVolumeFromReportAsAttached
This commit is contained in:
@@ -424,7 +424,7 @@ func (asw *actualStateOfWorld) removeVolumeFromReportAsAttached(
|
||||
return nil
|
||||
}
|
||||
}
|
||||
return fmt.Errorf("volume %q or node %q does not exist in volumesToReportAsAttached list",
|
||||
return fmt.Errorf("volume %q does not exist in volumesToReportAsAttached list or node %q does not exist in nodesToUpdateStatusFor list",
|
||||
volumeName,
|
||||
nodeName)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user