mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-28 13:31:27 +08: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) {
|
||||
|
||||
if len(args) == 0 {
|
||||
fmt.Fprintf(writer, "missing a metadata file\n")
|
||||
return nil
|
||||
}
|
||||
|
||||
filerServer, filerPort, path, err := commandEnv.parseUrl(findInputDirectory(nil))
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user