Skip to content

Improve commands output #534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 11, 2018

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented May 9, 2018

Print most shell-out commands (kubectl, helm...) directly to stdout

Fixes #414

@dgageot dgageot changed the title Improve commands Improve commands output May 9, 2018
@dgageot dgageot force-pushed the improve-commands branch from f31c0c8 to a0de72d Compare May 10, 2018 17:17
Copy link
Contributor

@dlorenc dlorenc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one nit

@@ -125,22 +123,21 @@ func (h *HelmDeployer) deployRelease(out io.Writer, r v1alpha2.HelmRelease, b *b
args = append(args, setOpts...)

execCmd := exec.Command("helm", args...)
stdout, stderr, err = util.RunCommand(execCmd, nil)
err = util.RunCmd(execCmd)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: inline the if statement

Signed-off-by: David Gageot <[email protected]>
@dgageot dgageot force-pushed the improve-commands branch from a0de72d to c4b7895 Compare May 11, 2018 15:14
@dgageot dgageot force-pushed the improve-commands branch from c4b7895 to a934609 Compare May 11, 2018 15:43
@dgageot dgageot merged commit c20f522 into GoogleContainerTools:master May 11, 2018
@dgageot dgageot deleted the improve-commands branch May 29, 2018 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants