From e9a1157bb1c82458028201a94457f82241f15140 Mon Sep 17 00:00:00 2001 From: John Howard Date: Fri, 17 Aug 2018 10:38:36 -0700 Subject: [PATCH] Remove AttachOnly Signed-off-by: John Howard --- internal/guestrequest/types.go | 1 - internal/uvm/scsi.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/guestrequest/types.go b/internal/guestrequest/types.go index 08d2f306fd..e44a6dacec 100644 --- a/internal/guestrequest/types.go +++ b/internal/guestrequest/types.go @@ -32,7 +32,6 @@ type LCOWMappedVirtualDisk struct { type WCOWMappedVirtualDisk struct { ContainerPath string `json:"ContainerPath,omitempty"` Lun int32 `json:"Lun,omitempty"` - AttachOnly bool `json:"AttachOnly,omitempty"` // If `true' then not mapped to the ContainerPath. (Not generated by Swagger) } type LCOWMappedDirectory struct { diff --git a/internal/uvm/scsi.go b/internal/uvm/scsi.go index de2d7c4152..663e912b2a 100644 --- a/internal/uvm/scsi.go +++ b/internal/uvm/scsi.go @@ -112,7 +112,6 @@ func (uvm *UtilityVM) AddSCSI(hostPath string, uvmPath string) (int, int32, erro Settings: guestrequest.WCOWMappedVirtualDisk{ ContainerPath: uvmPath, Lun: lun, - AttachOnly: (uvmPath == ""), }, } } else {