Fix cli in main.go (#2043)

This commit is contained in:
Hussein Galal 2020-07-21 00:06:21 +02:00 committed by GitHub
parent 1b62c2802b
commit 6d59b81479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ import (
func main() { func main() {
app := cmds.NewApp() app := cmds.NewApp()
app.Commands = []cli.Command{ app.Commands = []*cli.Command{
cmds.NewServerCommand(server.Run), cmds.NewServerCommand(server.Run),
cmds.NewAgentCommand(agent.Run), cmds.NewAgentCommand(agent.Run),
cmds.NewKubectlCommand(kubectl.Run), cmds.NewKubectlCommand(kubectl.Run),