mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
minor
This commit is contained in:
parent
7a46aac10f
commit
575926cdec
|
@ -33,6 +33,11 @@ func (c *commandFsMetaLoad) Help() string {
|
||||||
|
|
||||||
func (c *commandFsMetaLoad) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {
|
func (c *commandFsMetaLoad) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {
|
||||||
|
|
||||||
|
if len(args) == 0 {
|
||||||
|
fmt.Fprintf(writer, "missing a metadata file\n")
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
filerServer, filerPort, path, err := commandEnv.parseUrl(findInputDirectory(nil))
|
filerServer, filerPort, path, err := commandEnv.parseUrl(findInputDirectory(nil))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue