Skip to content

Commit d19f933

Browse files
authored
Merge pull request #2384 from ClementLachaussee/prepare-cherry-pick
fix: add ReservedDataDiskSlotNum copy from DriverOptions to Driver struct
2 parents ce7a59c + b74b5c0 commit d19f933

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/azuredisk/azuredisk.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func newDriverV1(options *DriverOptions) *Driver {
145145
driver.Version = driverVersion
146146
driver.NodeID = options.NodeID
147147
driver.VolumeAttachLimit = options.VolumeAttachLimit
148+
driver.ReservedDataDiskSlotNum = options.ReservedDataDiskSlotNum
148149
driver.perfOptimizationEnabled = options.EnablePerfOptimization
149150
driver.cloudConfigSecretName = options.CloudConfigSecretName
150151
driver.cloudConfigSecretNamespace = options.CloudConfigSecretNamespace

0 commit comments

Comments
 (0)