aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-16 11:06:13 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-16 11:06:13 -0800
commit632c94d4389dbccd1e1e765036b3c9785d44e5d5 (patch)
tree65a29307f4079f6b539e97c405d65809d898e170 /weed/command/mount_std.go
parentb9b5b932c5892f14da6b489a6907ffd8649a3eb5 (diff)
parent0611233f16ff0e8f4b99aa6528f47153efd9a846 (diff)
downloadseaweedfs-632c94d4389dbccd1e1e765036b3c9785d44e5d5.tar.xz
seaweedfs-632c94d4389dbccd1e1e765036b3c9785d44e5d5.zip
Merge branch 'extend_to_disk_type'
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 56338e327..a6d562d40 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -5,7 +5,7 @@ package command
import (
"context"
"fmt"
- "github.com/chrislusf/seaweedfs/weed/storage"
+ "github.com/chrislusf/seaweedfs/weed/storage/types"
"os"
"os/user"
"path"
@@ -169,7 +169,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
mountRoot = mountRoot[0 : len(mountRoot)-1]
}
- diskType := storage.ToDiskType(*option.diskType)
+ diskType := types.ToDiskType(*option.diskType)
seaweedFileSystem := filesys.NewSeaweedFileSystem(&filesys.Option{
MountDirectory: dir,