aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_remote_cache.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-14 10:37:06 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-14 10:37:06 -0700
commit2789d10342b89691898ae1da774842c5b1ad261d (patch)
tree9b9be0e84e7d546c48a139d98b56ec288e1fda7b /weed/shell/command_remote_cache.go
parent119d5908dd52b159c275bad10007daaf62188df0 (diff)
downloadseaweedfs-2789d10342b89691898ae1da774842c5b1ad261d.tar.xz
seaweedfs-2789d10342b89691898ae1da774842c5b1ad261d.zip
go fmt
Diffstat (limited to 'weed/shell/command_remote_cache.go')
-rw-r--r--weed/shell/command_remote_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.go
index 58b6d7b5e..2ae20d143 100644
--- a/weed/shell/command_remote_cache.go
+++ b/weed/shell/command_remote_cache.go
@@ -79,7 +79,7 @@ func (c *commandRemoteCache) Do(args []string, commandEnv *CommandEnv, writer io
return nil
}
-func (c *commandRemoteCache) doCacheOneDirectory(commandEnv *CommandEnv, writer io.Writer, dir string, fileFiler *FileFilter, concurrency int) (error) {
+func (c *commandRemoteCache) doCacheOneDirectory(commandEnv *CommandEnv, writer io.Writer, dir string, fileFiler *FileFilter, concurrency int) error {
mappings, localMountedDir, remoteStorageMountedLocation, remoteStorageConf, detectErr := detectMountInfo(commandEnv, writer, dir)
if detectErr != nil {
jsonPrintln(writer, mappings)