[#521] Add netmap load command to policy playground #522

Merged
fyrchik merged 2 commits from ale64bit/frostfs-node:fix/521-pp-load into master 2023-07-19 11:34:10 +00:00
Showing only changes of commit 79fae06d31 - Show all commits

View file

@ -166,10 +166,12 @@ func (repl *policyPlaygroundREPL) run() error {
} }
cmdHandlers := map[string]func([]string) error{ cmdHandlers := map[string]func([]string) error{
"list": repl.handleLs,
"ls": repl.handleLs, "ls": repl.handleLs,
"add": repl.handleAdd, "add": repl.handleAdd,
"load": repl.handleLoad, "load": repl.handleLoad,
"remove": repl.handleRemove, "remove": repl.handleRemove,
"rm": repl.handleRemove,
"eval": repl.handleEval, "eval": repl.handleEval,
} }
for reader := bufio.NewReader(os.Stdin); ; { for reader := bufio.NewReader(os.Stdin); ; {