aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/shell/command_remote_cache.go2
-rw-r--r--weed/shell/command_remote_mount.go2
-rw-r--r--weed/shell/command_remote_uncache.go4
3 files changed, 4 insertions, 4 deletions
diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.go
index a9386ac76..5f5fb060d 100644
--- a/weed/shell/command_remote_cache.go
+++ b/weed/shell/command_remote_cache.go
@@ -94,7 +94,7 @@ func recursivelyTraverseDirectory(filerClient filer_pb.FilerClient, dirPath util
if err := recursivelyTraverseDirectory(filerClient, subDir, visitEntry); err != nil {
return err
}
- }else {
+ } else {
if !visitEntry(dirPath, entry) {
return nil
}
diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.go
index a0d41ce6f..84a27cad6 100644
--- a/weed/shell/command_remote_mount.go
+++ b/weed/shell/command_remote_mount.go
@@ -246,4 +246,4 @@ func doSaveRemoteEntry(client filer_pb.SeaweedFilerClient, localDir string, exis
return updateErr
}
return nil
-} \ No newline at end of file
+}
diff --git a/weed/shell/command_remote_uncache.go b/weed/shell/command_remote_uncache.go
index c07894508..7fc70b7a3 100644
--- a/weed/shell/command_remote_uncache.go
+++ b/weed/shell/command_remote_uncache.go
@@ -83,8 +83,8 @@ func (c *commandRemoteUncache) uncacheContentData(commandEnv *CommandEnv, writer
err := commandEnv.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {
_, updateErr := client.UpdateEntry(context.Background(), &filer_pb.UpdateEntryRequest{
- Directory: string(dir),
- Entry: entry,
+ Directory: string(dir),
+ Entry: entry,
})
return updateErr
})