switch hyper to cobra

This commit is contained in:
David Eads
2018-01-17 12:34:04 -05:00
parent ee14d2edf0
commit e48847e6ce
16 changed files with 154 additions and 1072 deletions

View File

@@ -28,6 +28,8 @@ import (
"github.com/spf13/pflag"
"fmt"
utilflag "k8s.io/apiserver/pkg/util/flag"
"k8s.io/apiserver/pkg/util/logs"
"k8s.io/kubernetes/cmd/kube-controller-manager/app"
@@ -52,6 +54,7 @@ func main() {
defer logs.FlushLogs()
if err := command.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
}