|
|
@ -67,11 +67,13 @@ func main() {
|
|
|
|
actionConfig := new(action.Configuration)
|
|
|
|
actionConfig := new(action.Configuration)
|
|
|
|
cmd, err := newRootCmd(actionConfig, os.Stdout, os.Args[1:])
|
|
|
|
cmd, err := newRootCmd(actionConfig, os.Stdout, os.Args[1:])
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
log.Fatal(err)
|
|
|
|
debug("%+v", err)
|
|
|
|
|
|
|
|
os.Exit(1)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if err := actionConfig.Init(settings.RESTClientGetter(), settings.Namespace(), os.Getenv("HELM_DRIVER"), debug); err != nil {
|
|
|
|
if err := actionConfig.Init(settings.RESTClientGetter(), settings.Namespace(), os.Getenv("HELM_DRIVER"), debug); err != nil {
|
|
|
|
log.Fatal(err)
|
|
|
|
debug("%+v", err)
|
|
|
|
|
|
|
|
os.Exit(1)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if err := cmd.Execute(); err != nil {
|
|
|
|
if err := cmd.Execute(); err != nil {
|
|
|
|