Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Fixes a bug that causes lpc command to log to stdout #140

Merged
merged 1 commit into from
May 22, 2018

Conversation

parlt91
Copy link
Contributor

@parlt91 parlt91 commented May 22, 2018

When calling zypper-docker lpc the listPatchesContainerCmd(...)
function is not called via the getCmd function which causes the
logger to not be setup. As a result the logged massages are printed
to os.Stdout.
This commit fixes this issue.

Signed-off-by: Pascal Arlt parlt@suse.com

When calling `zypper-docker lpc` the `listPatchesContainerCmd(...)`
function is not called via the `getCmd` function which causes the
logger to not be setup. As a result the logged massages are printed
to `os.Stdout`.
This commit fixes this issue.

Signed-off-by: Pascal Arlt <parlt@suse.com>
Copy link
Contributor

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the fix!

@vrothberg vrothberg merged commit f8b8d2f into SUSE:master May 22, 2018
@parlt91 parlt91 deleted the logBugFix branch May 22, 2018 13:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants