diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-15 12:09:54 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-15 12:09:54 -0700 |
| commit | a539d6489639217c1b2fded6ff7238b2d5e7b5da (patch) | |
| tree | 8ba759ebc75b6da4706d93849eb807d75892238d /weed/shell/command_remote_cache.go | |
| parent | 8f7d2d317f7a5b30068e429adcdb9e00bc01d0e4 (diff) | |
| download | seaweedfs-a539d6489639217c1b2fded6ff7238b2d5e7b5da.tar.xz seaweedfs-a539d6489639217c1b2fded6ff7238b2d5e7b5da.zip | |
refactor
Diffstat (limited to 'weed/shell/command_remote_cache.go')
| -rw-r--r-- | weed/shell/command_remote_cache.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.go index 21c479258..f032239f3 100644 --- a/weed/shell/command_remote_cache.go +++ b/weed/shell/command_remote_cache.go @@ -52,8 +52,9 @@ func (c *commandRemoteCache) Do(args []string, commandEnv *CommandEnv, writer io return nil } - localMountedDir, remoteStorageMountedLocation, remoteStorageConf, detectErr := detectMountInfo(commandEnv, writer, *dir) + mappings, localMountedDir, remoteStorageMountedLocation, remoteStorageConf, detectErr := detectMountInfo(commandEnv, writer, *dir) if detectErr != nil{ + jsonPrintln(writer, mappings) return detectErr } |
