Add placeholder diskattacher for other OSes.
This commit is contained in:
parent
5ce6c8564c
commit
fb1a4bd86f
|
@ -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…
Reference in New Issue