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
fix return value
guosj1a5de362571f
diff --git a/weed/shell/command_fs_configure.go b/weed/shell/command_fs_configure.goindex 068e83a5b5..73bb8e5c63 100644--- a/weed/shell/command_fs_configure.go+++ b/weed/shell/command_fs_configure.go@@ -62,7 +62,7 @@ func (c *commandFsConfigure) Do(args []string, commandEnv *CommandEnv, writer ioisDelete := fsConfigureCommand.Bool("delete", false, "delete the configuration by locationPrefix")apply := fsConfigureCommand.Bool("apply", false, "update and apply filer configuration")if err = fsConfigureCommand.Parse(args); err != nil {- return err+ return nil}fc, err := filer.ReadFilerConf(commandEnv.option.FilerAddress, commandEnv.option.GrpcDialOption, commandEnv.MasterClient)diff --git a/weed/shell/command_volume_vacuum.go b/weed/shell/command_volume_vacuum.goindex fc454c9ffc..37b8aa0303 100644--- a/weed/shell/command_volume_vacuum.go+++ b/weed/shell/command_volume_vacuum.go@@ -34,7 +34,7 @@ func (c *commandVacuum) Do(args []string, commandEnv *CommandEnv, writer io.Writcollection := volumeVacuumCommand.String("collection", "", "vacuum this collection")volumeId := volumeVacuumCommand.Uint("volumeId", 0, "the volume id")if err = volumeVacuumCommand.Parse(args); err != nil {- return+ return nil}if err = commandEnv.confirmIsLocked(args); err != nil {