Skip to content
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

Fix default namespace fallback #209

Merged
merged 4 commits into from
Sep 22, 2020
Merged

Conversation

JohnStarich
Copy link
Member

Fixes #207

Basic fix was to call the correct .IsNotFound func:

ibmcloud.IsNotFound(err) -> k8sErrors.IsNotFound(err)

@codecov
Copy link

codecov bot commented Sep 22, 2020

Codecov Report

Merging #209 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #209   +/-   ##
=======================================
  Coverage   91.05%   91.05%           
=======================================
  Files           6        6           
  Lines         749      749           
=======================================
  Hits          682      682           
  Misses         44       44           
  Partials       23       23           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba68ead...3a87057. Read the comment docs.

@JohnStarich JohnStarich marked this pull request as ready for review September 22, 2020 01:24
Signed-off-by: John Starich <[email protected]>
@JohnStarich JohnStarich merged commit 3388d60 into master Sep 22, 2020
@JohnStarich JohnStarich deleted the bugfix/lookup-in-default branch September 22, 2020 01:39
artberger pushed a commit that referenced this pull request Sep 23, 2020
* Add more logging
* Fix bug: was calling wrong IsNotFound func
* Remove confusing IsNotFound func from ibmcloud package

Signed-off-by: Art Berger <[email protected]>
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.

Different namespace doesn't look up default secret/configmap as fallback
1 participant