diff options
| author | guosj <515878133@qq.com> | 2022-02-17 09:57:52 +0800 |
|---|---|---|
| committer | guosj <515878133@qq.com> | 2022-02-17 09:57:52 +0800 |
| commit | ca121ecd661f839e883c7106363c7713978bd30a (patch) | |
| tree | e6bbb73e6708bd2a61a769b377a61cc03bf1cd0c /weed/shell/command_fs_configure.go | |
| parent | 21aaa4c1f1c85486b5148605f8cb15db3f870be2 (diff) | |
| download | seaweedfs-ca121ecd661f839e883c7106363c7713978bd30a.tar.xz seaweedfs-ca121ecd661f839e883c7106363c7713978bd30a.zip | |
fix minor bug in commandFsConfigure.Do
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 73bb8e5c6..068e83a5b 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 nil + return err } fc, err := filer.ReadFilerConf(commandEnv.option.FilerAddress, commandEnv.option.GrpcDialOption, commandEnv.MasterClient) |
