Skip to content

Commit

Permalink
fix: set driver.ReservedDataDiskSlotNum from options.ReservedDataDisk…
Browse files Browse the repository at this point in the history
…SlotNum

Signed-off-by: ClementLachaussee <[email protected]>
  • Loading branch information
ClementLachaussee committed Jun 28, 2024
1 parent ce7a59c commit b74b5c0
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 b74b5c0

Please sign in to comment.