periodic scripts exeuction from leader master

This commit is contained in:
Chris Lu committed 2019-06-05 01:30:24 -07:00
1 parent b9e138713c
commit ede876cfdb
47 files changed
+337 -225

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ import (
)
func init() {
commands = append(commands, &commandFsMetaLoad{})
Commands = append(Commands, &commandFsMetaLoad{})
}
type commandFsMetaLoad struct {
@@ -31,7 +31,7 @@ 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")