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
@@ -10,7 +10,7 @@ import (
)
func init() {
commands = append(commands, &commandFsTree{})
Commands = append(Commands, &commandFsTree{})
}
type commandFsTree struct {
@@ -27,7 +27,7 @@ func (c *commandFsTree) Help() string {
`
}
func (c *commandFsTree) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {
func (c *commandFsTree) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
filerServer, filerPort, path, err := commandEnv.parseUrl(findInputDirectory(args))
if err != nil {