diff options
| author | guosj <515878133@qq.com> | 2022-04-29 11:19:36 +0800 |
|---|---|---|
| committer | guosj <515878133@qq.com> | 2022-04-29 11:19:36 +0800 |
| commit | 1a5de362571ff944e5599faee710b4a2ed9f1e9c (patch) | |
| tree | 4a501801aac89a831fe79914017ad8fc24f29d1e /weed/shell/command_fs_configure.go | |
| parent | 4e97b6146aca2477c8854f5b4711e952c0299f64 (diff) | |
| download | seaweedfs-1a5de362571ff944e5599faee710b4a2ed9f1e9c.tar.xz seaweedfs-1a5de362571ff944e5599faee710b4a2ed9f1e9c.zip | |
fix return value
Diffstat (limited to 'weed/shell/command_fs_configure.go')
| -rw-r--r-- | weed/shell/command_fs_configure.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_configure.go b/weed/shell/command_fs_configure.go index 068e83a5b..73bb8e5c6 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 io isDelete := 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) |
