mirror of https://github.com/k3s-io/k3s
Merge pull request #71990 from andyzhangx/azuredisk-log-flushing
fix kubelet log flushing issue in azure diskpull/564/head
commit
59fce36866
|
@ -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