mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
fix internal/machine package to build on darwin
This commit is contained in:
@@ -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")
|
||||
}
|
||||
Reference in New Issue
Block a user