mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #69558 from andyzhangx/GetVolumeLimits-warning
fix GetVolumeLimits log flushing issue
This commit is contained in:
commit
3ac3889838
@ -144,8 +144,7 @@ func (plugin *azureDataDiskPlugin) GetVolumeLimits() (map[string]int64, error) {
|
|||||||
// hoping external CCM or admin can set it. Returning
|
// hoping external CCM or admin can set it. Returning
|
||||||
// default values from here will mean, no one can
|
// default values from here will mean, no one can
|
||||||
// override them.
|
// override them.
|
||||||
glog.Errorf("failed to get azure cloud in GetVolumeLimits, plugin.host: %s", plugin.host.GetHostName())
|
return nil, fmt.Errorf("failed to get azure cloud in GetVolumeLimits, plugin.host: %s", plugin.host.GetHostName())
|
||||||
return volumeLimits, nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
instances, ok := az.Instances()
|
instances, ok := az.Instances()
|
||||||
|
Loading…
Reference in New Issue
Block a user