diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-07-27 01:16:28 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-07-27 01:16:28 -0700 |
| commit | 4b94b03d90a97dfd6fecc55e7091055bf5fc329c (patch) | |
| tree | ea449e802e467af46af16641a7c480b8add52f98 /weed/shell/command_remote_mount.go | |
| parent | 99b599aa8a674ccd584d612e8e871fdca7670620 (diff) | |
| download | seaweedfs-4b94b03d90a97dfd6fecc55e7091055bf5fc329c.tar.xz seaweedfs-4b94b03d90a97dfd6fecc55e7091055bf5fc329c.zip | |
directory to remote storage mapping
Diffstat (limited to 'weed/shell/command_remote_mount.go')
| -rw-r--r-- | weed/shell/command_remote_mount.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.go index 22d92ef8b..10541092a 100644 --- a/weed/shell/command_remote_mount.go +++ b/weed/shell/command_remote_mount.go @@ -7,7 +7,6 @@ import ( "github.com/chrislusf/seaweedfs/weed/filer" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/chrislusf/seaweedfs/weed/remote_storage" - _ "github.com/chrislusf/seaweedfs/weed/remote_storage/s3" "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" "io" @@ -82,7 +81,7 @@ func (c *commandRemoteMount) findRemoteStorageConfiguration(commandEnv *CommandE // read storage configuration data var confBytes []byte err = commandEnv.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error { - confBytes, err = filer.ReadInsideFiler(client, filer.DirectoryEtcRemote, storageName) + confBytes, err = filer.ReadInsideFiler(client, filer.DirectoryEtcRemote, storageName+filer.REMOTE_STORAGE_CONF_SUFFIX) return err }) if err != nil { |
