From fb1a4bd86fcf79dacd1dbab158bf8b3d511c595b Mon Sep 17 00:00:00 2001 From: Brad Ackerman Date: Sat, 1 Aug 2020 21:59:43 -0700 Subject: [PATCH] Add placeholder diskattacher for other OSes. --- builder/azure/chroot/diskattacher_other.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 builder/azure/chroot/diskattacher_other.go diff --git a/builder/azure/chroot/diskattacher_other.go b/builder/azure/chroot/diskattacher_other.go new file mode 100644 index 000000000..3fea09037 --- /dev/null +++ b/builder/azure/chroot/diskattacher_other.go @@ -0,0 +1,11 @@ +// +build !linux,!freebsd + +package chroot + +import ( + "context" +) + +func (da diskAttacher) WaitForDevice(ctx context.Context, lun int32) (device string, err error) { + panic("The azure-chroot builder does not work on this platform.") +}