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.

Update command_remote_uncache.go

Chris Luf3a334965d75
diff --git a/weed/shell/command_remote_uncache.go b/weed/shell/command_remote_uncache.go
index 0d4e0cf7d1..53d043ebf3 100644
--- a/weed/shell/command_remote_uncache.go
+++ b/weed/shell/command_remote_uncache.go
@@ -4,12 +4,13 @@ import (
"context"
"flag"
"fmt"
- "github.com/chrislusf/seaweedfs/weed/filer"
- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
- "github.com/chrislusf/seaweedfs/weed/util"
"io"
"path/filepath"
"strings"
+
+ "github.com/chrislusf/seaweedfs/weed/filer"
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
+ "github.com/chrislusf/seaweedfs/weed/util"
)
func init() {
@@ -41,12 +42,12 @@ func (c *commandRemoteUncache) Help() string {
func (c *commandRemoteUncache) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
- remoteUnmountCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ remoteUncacheCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
- dir := remoteUnmountCommand.String("dir", "", "a directory in filer")
- fileFiler := newFileFilter(remoteUnmountCommand)
+ dir := remoteUncacheCommand.String("dir", "", "a directory in filer")
+ fileFiler := newFileFilter(remoteUncacheCommand)
- if err = remoteUnmountCommand.Parse(args); err != nil {
+ if err = remoteUncacheCommand.Parse(args); err != nil {
return nil
}