Add placeholder diskattacher for other OSes.

This commit is contained in:
Brad Ackerman 2020-08-01 21:59:43 -07:00
parent 5ce6c8564c
commit fb1a4bd86f
No known key found for this signature in database
GPG Key ID: 5C5E7A6B14E3D827
1 changed files with 11 additions and 0 deletions

View File

@ -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.")
}