mirror of
https://github.com/kemko/nomad.git
synced 2026-01-16 07:15:40 +03:00
Filtered out the executor command
This commit is contained in:
2
main.go
Executable file → Normal file
2
main.go
Executable file → Normal file
@@ -32,7 +32,7 @@ func RunCustom(args []string, commands map[string]cli.CommandFactory) int {
|
||||
commandsInclude := make([]string, 0, len(commands))
|
||||
for k, _ := range commands {
|
||||
switch k {
|
||||
case "spawn-daemon":
|
||||
case "executor":
|
||||
default:
|
||||
commandsInclude = append(commandsInclude, k)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user