From 402315f117ec02d511dde0b4428bfd8d0ec8716d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 9 Aug 2021 14:37:34 -0700 Subject: [PATCH] go fmt --- weed/shell/command_remote_cache.go | 2 +- weed/shell/command_remote_mount.go | 2 +- weed/shell/command_remote_uncache.go | 4 ++-- 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 })