Skip to content

Commit

Permalink
Merge pull request #2385 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2384-to-release-1.30

[release-1.30] fix: add ReservedDataDiskSlotNum copy from DriverOptions to Driver struct
  • Loading branch information
k8s-ci-robot authored Jul 1, 2024
2 parents 4c0feae + cee5fd9 commit c3d72c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/azuredisk/azuredisk.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ func newDriverV1(options *DriverOptions) *Driver {
driver.Version = driverVersion
driver.NodeID = options.NodeID
driver.VolumeAttachLimit = options.VolumeAttachLimit
driver.ReservedDataDiskSlotNum = options.ReservedDataDiskSlotNum
driver.perfOptimizationEnabled = options.EnablePerfOptimization
driver.cloudConfigSecretName = options.CloudConfigSecretName
driver.cloudConfigSecretNamespace = options.CloudConfigSecretNamespace
Expand Down

0 comments on commit c3d72c7

Please sign in to comment.