mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 14:14:52 +00:00
fix internal/machine package to build on darwin
This commit is contained in:
1 parent
7ef7475dc2
commit
fdb277c2df
3 files changed
+121
-98
No files matched your search
@@ -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