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 blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
go fmt
Chris Lu69de05f6cbc5
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.goindex cc73549b4a..9995cf6aa7 100644--- a/weed/command/filer_copy.go+++ b/weed/command/filer_copy.go@@ -400,7 +400,6 @@ func (worker *FileCopyWorker) uploadFileInChunks(ctx context.Context, task FileCwg.Wait()close(chunksChan)-var chunks []*filer_pb.FileChunkfor chunk := range chunksChan {chunks = append(chunks, chunk)diff --git a/weed/command/shell.go b/weed/command/shell.goindex 7f971c4772..91aa8770a1 100644--- a/weed/command/shell.go+++ b/weed/command/shell.go@@ -13,9 +13,8 @@ import ()var (- shellOptions shell.ShellOptions+ shellOptions shell.ShellOptionsshellInitialFilerUrl *string-)func init() {@@ -32,13 +31,11 @@ var cmdShell = &Command{`,}-func runShell(command *Command, args []string) bool {util.LoadConfiguration("security", false)shellOptions.GrpcDialOption = security.LoadClientTLS(viper.Sub("grpc"), "client")-var filerPwdErr errorshellOptions.FilerHost, shellOptions.FilerPort, shellOptions.Directory, filerPwdErr = parseFilerUrl(*shellInitialFilerUrl)if filerPwdErr != nil {diff --git a/weed/shell/commands.go b/weed/shell/commands.goindex 02f576011f..b642ec2535 100644--- a/weed/shell/commands.go+++ b/weed/shell/commands.go@@ -16,8 +16,8 @@ import ()type ShellOptions struct {- Masters *string- GrpcDialOption grpc.DialOption+ Masters *string+ GrpcDialOption grpc.DialOption// shell transient contextFilerHost stringFilerPort int64