Skip to content

Commit

Permalink
fix vmAccess param usage in AddSCSI
Browse files Browse the repository at this point in the history
AddSCSI wasn't using vmAccess parameter when making addSCSIRequest

Signed-off-by: Maksim An <maksiman@microsoft.com>
  • Loading branch information
anmaxvl committed Sep 20, 2021
1 parent 958272a commit f843ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/uvm/scsi.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (uvm *UtilityVM) AddSCSI(ctx context.Context, hostPath string, uvmPath stri
attachmentType: "VirtualDisk",
readOnly: readOnly,
guestOptions: guestOptions,
vmAccess: VMAccessTypeIndividual,
vmAccess: vmAccess,
}
return uvm.addSCSIActual(ctx, addReq)
}
Expand Down

0 comments on commit f843ca8

Please sign in to comment.