mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 14:30:46 +02:00
disk type can be generic tags
This commit is contained in:
1 parent
712b3e9e53
commit
4bd8a692d8
7 files changed
+15
-26
No files matched your search
@@ -169,11 +169,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
|
||||
mountRoot = mountRoot[0 : len(mountRoot)-1]
|
||||
}
|
||||
|
||||
diskType, err := storage.ToDiskType(*option.diskType)
|
||||
if err != nil {
|
||||
fmt.Printf("failed to parse volume type: %v\n", err)
|
||||
return false
|
||||
}
|
||||
diskType := storage.ToDiskType(*option.diskType)
|
||||
|
||||
seaweedFileSystem := filesys.NewSeaweedFileSystem(&filesys.Option{
|
||||
MountDirectory: dir,
|
||||
|
||||
Reference in new issue
Block a user