Skip to content

Commit 59d445a

Browse files
committed
review 2
Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
1 parent 30f1751 commit 59d445a

17 files changed

Lines changed: 18 additions & 77 deletions

internal/controller/device/scsi/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows
1+
//go:build windows && (lcow || wcow)
22

33
package scsi
44

internal/controller/device/scsi/controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build (windows && lcow) || (windows && wcow)
1+
//go:build windows && (lcow || wcow)
22

33
package scsi
44

internal/controller/device/scsi/disk/disk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows
1+
//go:build windows && (lcow || wcow)
22

33
package disk
44

internal/controller/device/scsi/disk/disk_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build (windows && lcow) || (windows && wcow)
1+
//go:build windows && (lcow || wcow)
22

33
package disk
44

internal/controller/device/scsi/disk/disk_unsupported.go

Lines changed: 0 additions & 17 deletions
This file was deleted.

internal/controller/device/scsi/disk/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows
1+
//go:build windows && (lcow || wcow)
22

33
// Package disk manages the lifecycle of a single SCSI disk attachment to a
44
// Hyper-V VM, from host-side slot allocation through guest-side partition

internal/controller/device/scsi/disk/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows
1+
//go:build windows && (lcow || wcow)
22

33
package disk
44

internal/controller/device/scsi/disk/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows
1+
//go:build windows && (lcow || wcow)
22

33
package disk
44

internal/controller/device/scsi/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows
1+
//go:build windows && (lcow || wcow)
22

33
// Package scsi manages the full lifecycle of SCSI disk mappings on a
44
// Hyper-V VM, from host-side slot allocation through guest-side mounting.

internal/controller/device/scsi/mount/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows
1+
//go:build windows && (lcow || wcow)
22

33
// Package mount manages the lifecycle of a single partition mount inside a
44
// Hyper-V guest VM, from the initial reservation through mounting and

0 commit comments

Comments
 (0)