Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

pkg/lifecycle/kubectl: Fix swallowed error on DaemonlessKubectl.Execute#1053

Merged
laverya merged 1 commit intoreplicatedhq:masterfrom
alrs:fix-daemonless-dropped-error
Aug 27, 2019
Merged

pkg/lifecycle/kubectl: Fix swallowed error on DaemonlessKubectl.Execute#1053
laverya merged 1 commit intoreplicatedhq:masterfrom
alrs:fix-daemonless-dropped-error

Conversation

@alrs
Copy link
Contributor

@alrs alrs commented Aug 27, 2019

What I Did

Fixed a swallowed error.

How I Did it

Added an if-block to return the wrapped error.

How to verify it

There were no tests here, no tests were added.

Description for the Changelog

pkg/lifecycle/kubectl: Fix swallowed error on DaemonlessKubectl.Execute

Picture of a Ship (not required but encouraged)

@laverya
Copy link
Member

laverya commented Aug 27, 2019

Huh, I would have expected ineffassign to have caught this
In any case, thank you for the PR!

@laverya laverya merged commit 0061de0 into replicatedhq:master Aug 27, 2019
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