Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

go fmt

Chris Lu402315f117ec
diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.go
index a9386ac762..5f5fb060d9 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 a0d41ce6f0..84a27cad69 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 c07894508f..7fc70b7a3f 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
})