Add placeholder diskattacher for other OSes.

pull/9697/head
Brad Ackerman 6 years ago
parent 5ce6c8564c
commit fb1a4bd86f
No known key found for this signature in database
GPG Key ID: 5C5E7A6B14E3D827

@ -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.")
}
Loading…
Cancel
Save