flags enabled

This commit is contained in:
Ivan Pedrazas
2016-12-12 18:37:14 +00:00
parent 757976f0dc
commit 57504b4346
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -71,8 +71,9 @@ func (p *Plugin) Exec() error {
if err != nil {
return fmt.Errorf("Error running helm comand: " + strings.Join(init[:], " "))
}
setHelmCommand(p)
if p.Config.Debug {
log.Println("helm comand: " + strings.Join(init[:], " "))
log.Println("helm comand: " + strings.Join(p.Config.HelmCommand[:], " "))
}
err = runCommand(p.Config.HelmCommand)
if err != nil {