Skip to content

fix(lookup_func): do not return error when object is not found - #7474

Merged
bacongobbler merged 1 commit into
helm:masterfrom
bacongobbler:fix-7473
Jan 30, 2020
Merged

bacongobbler merged 1 commit into
helm:masterfrom
bacongobbler:fix-7473

Conversation

@bacongobbler

Copy link
Copy Markdown
Member

closes #7473.

Signed-off-by: Matthew Fisher [email protected]

@bacongobbler bacongobbler added awaiting review bug Categorizes issue or PR as related to a bug. labels Jan 27, 2020
@helm-bot helm-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 27, 2020
@bacongobbler bacongobbler added this to the 3.1.0 milestone Jan 27, 2020
@raffaelespazzoli

Copy link
Copy Markdown
Contributor

if that is the logic we want to apply, then we should apply it also at line 62.

@bacongobbler

Copy link
Copy Markdown
Member Author

good call. Fixed.

@helm-bot helm-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 30, 2020
@mattfarina

Copy link
Copy Markdown
Collaborator

Would be nice to have tests on this but not blocking on them.

@bacongobbler
bacongobbler merged commit 5c7bf8e into helm:master Jan 30, 2020
@bacongobbler
bacongobbler deleted the fix-7473 branch January 30, 2020 19:49
@ichekrygin

Copy link
Copy Markdown

@bacongobbler - continue from #7473 (comment)

⋊> ~/g/s/g/h/helm on 1b1d6bba ⨯ helm version
version.BuildInfo{Version:"v3.0+unreleased", GitCommit:"1b1d6bba9cec81a6bbc77dd948779a45bc8a63c8", GitTreeState:"dirty", GoVersion:"go1.12.12"}
⋊> ~/g/s/g/h/helm on 1b1d6bba ⨯ helm install foo ./foo -n bar
Error: create: failed to create: namespaces "bar" not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Categorizes issue or PR as related to a bug. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

a failed lookup removes all rendered output

5 participants