diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-14 03:14:05 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-14 03:14:05 -0800 |
| commit | ff666104c45acb38f3e9deb60702885fe3491fe3 (patch) | |
| tree | 771e867ec5cb4c3d817ec09cb6e3ec7d285aad16 | |
| parent | 05724a68d4c598cdc02dca6f615a9bf70a8460e8 (diff) | |
| download | seaweedfs-ff666104c45acb38f3e9deb60702885fe3491fe3.tar.xz seaweedfs-ff666104c45acb38f3e9deb60702885fe3491fe3.zip | |
fix GOOS2.89
| -rw-r--r-- | weed/mount/unmount/unmount_std.go | 4 | ||||
| -rw-r--r-- | weed/mount/unmount/unmount_unsupported.go | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/weed/mount/unmount/unmount_std.go b/weed/mount/unmount/unmount_std.go index 76267fb6a..410eb1235 100644 --- a/weed/mount/unmount/unmount_std.go +++ b/weed/mount/unmount/unmount_std.go @@ -1,5 +1,5 @@ -//go:build !linux -// +build !linux +//go:build !linux && !windows +// +build !linux,!windows package unmount diff --git a/weed/mount/unmount/unmount_unsupported.go b/weed/mount/unmount/unmount_unsupported.go new file mode 100644 index 000000000..d0a94cc4a --- /dev/null +++ b/weed/mount/unmount/unmount_unsupported.go @@ -0,0 +1,8 @@ +//go:build windows +// +build windows + +package unmount + +func unmount(dir string) error { + return nil +} |
