fix internal/machine package to build on darwin

This commit is contained in:
Pavel Sviderski
2024-09-20 23:18:58 +10:00
parent 7ef7475dc2
commit fdb277c2df
3 changed files with 121 additions and 98 deletions
+13
View File
@@ -0,0 +1,13 @@
//go:build darwin
package machine
import (
"context"
"fmt"
)
// setupDockerNetwork is a stub for darwin.
func (nc *networkController) setupDockerNetwork(ctx context.Context) error {
return fmt.Errorf("not supported on darwin")
}