Skip to content

Commit b74b5c0

Browse files
fix: set driver.ReservedDataDiskSlotNum from options.ReservedDataDiskSlotNum
Signed-off-by: ClementLachaussee <[email protected]>
1 parent ce7a59c commit b74b5c0

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)