Added compile indexes for threshold with test

This commit is contained in:
edwardro22
2018-01-03 10:24:18 +02:00
committed by Dan Christian Bogos
parent 77b5a25d22
commit 5ad2a1753d
23 changed files with 1101 additions and 66 deletions

View File

@@ -59,7 +59,12 @@ func (ce *CommandExecuter) FromArgs(args string, verbose bool) error {
}
func (ce *CommandExecuter) clientArgs(iface interface{}) (args []string) {
_, ok := iface.(*map[string]interface{})
_, ok := iface.(*utils.ArgsComputeFilterIndexes)
if ok {
args = append(args, "MapStringInterface")
return
}
_, ok = iface.(*map[string]interface{})
if ok {
args = append(args, "MapStringInterface")
return