Skip to content

Commit

Permalink
Merge pull request #621 from andyzhangx/reduce-throttling
Browse files Browse the repository at this point in the history
fix: reduce crp throttling in attach disk scenario
  • Loading branch information
k8s-ci-robot authored May 8, 2021
2 parents 4c5877d + 3c48673 commit 73e4a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/azure_controller_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ func (c *controllerCommon) GetDiskLun(diskName, diskURI string, nodeName types.N
// SetDiskLun find unused luns and allocate lun for every disk in diskMap.
// Return lun of diskURI, -1 if all luns are used.
func (c *controllerCommon) SetDiskLun(nodeName types.NodeName, diskURI string, diskMap map[string]*AttachDiskOptions) (int32, error) {
disks, _, err := c.getNodeDataDisks(nodeName, azcache.CacheReadTypeForceRefresh)
disks, _, err := c.getNodeDataDisks(nodeName, azcache.CacheReadTypeDefault)
if err != nil {
klog.Errorf("error of getting data disks for node %q: %v", nodeName, err)
return -1, err
Expand Down

0 comments on commit 73e4a34

Please sign in to comment.