mirror of https://github.com/k3s-io/k3s
Merge pull request #72009 from andyzhangx/automated-cherry-pick-of-#71990-upstream-release-1.13
Automated cherry pick of #71990: fix kubelet log flushing issue in azure diskpull/58/head
commit
f2806ab3a3
|
@ -187,7 +187,7 @@ func getMaxDataDiskCount(instanceType string, sizeList *[]compute.VirtualMachine
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if strings.ToUpper(*size.Name) == vmsize {
|
if strings.ToUpper(*size.Name) == vmsize {
|
||||||
klog.V(2).Infof("got a matching size in getMaxDataDiskCount, Name: %s, MaxDataDiskCount: %d", *size.Name, *size.MaxDataDiskCount)
|
klog.V(12).Infof("got a matching size in getMaxDataDiskCount, Name: %s, MaxDataDiskCount: %d", *size.Name, *size.MaxDataDiskCount)
|
||||||
return int64(*size.MaxDataDiskCount)
|
return int64(*size.MaxDataDiskCount)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue