Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Oct 15, 2019
1 parent 94ffb72 commit 09a4820
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/cmd/kubernetes_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func templateChart(basePath, chart, namespace, outputPath, values string, overri
if len(values) > 0 {
valuesStr = "--values " + path.Join(chartRoot, values)
}
log.Println("basePath", basePath)

task := execute.ExecTask{
Command: fmt.Sprintf("%s template %s --name %s --namespace %s --output-dir %s %s %s",
localBinary("helm"), chart, chart, namespace, outputPath, valuesStr, overridesStr),
Expand All @@ -77,7 +77,9 @@ func templateChart(basePath, chart, namespace, outputPath, values string, overri
return fmt.Errorf("exit code %d", res.ExitCode)
}

fmt.Println(res.ExitCode, res.Stdout, res.Stderr)
if len(res.Stderr) > 0 {
log.Printf("stderr: %s\n", res.Stderr)
}

return nil
}
Expand Down

0 comments on commit 09a4820

Please sign in to comment.