sample-controller/vendor/k8s.io/client-go
Kubernetes Publisher 8d405dd3e1 Merge pull request #62273 from atlassian/dont-log-when-error-returned
Automatic merge from submit-queue (batch tested with PRs 62273, 62461). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Don't log when error returned

**What this PR does / why we need it**:
Both logging and returning an error is an antipattern. If the caller wants it logged they will log it. And in this case it will be logged twice which is very confusing for debugging.

**Release note**:
```release-note
NONE
```
/kind cleanup
/sig api-machinery

Kubernetes-commit: 0b5fa0b94a2e147ddae2278623c89648c211d229
2018-04-12 15:18:59 +00:00
..
discovery Merge pull request #61800 from rithujohn191/remove-gopass 2018-04-06 12:04:33 +00:00
informers Merge pull request #61400 from natronq/master 2018-04-06 23:53:23 +00:00
kubernetes Merge pull request #62273 from atlassian/dont-log-when-error-returned 2018-04-12 15:18:59 +00:00
listers Merge pull request #59172 from fisherxu/removeyear 2018-03-21 23:28:20 +00:00
pkg Merge pull request #61800 from rithujohn191/remove-gopass 2018-04-06 12:04:33 +00:00
plugin/pkg/client/auth/exec sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-21 23:27:59 +00:00
rest Merge pull request #59172 from fisherxu/removeyear 2018-03-21 23:28:20 +00:00
testing Merge pull request #61800 from rithujohn191/remove-gopass 2018-04-06 12:04:33 +00:00
tools Merge pull request #61800 from rithujohn191/remove-gopass 2018-04-06 12:04:33 +00:00
transport Merge pull request #59172 from fisherxu/removeyear 2018-03-21 23:28:20 +00:00
util sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-21 23:27:59 +00:00
LICENSE Merge pull request #52753 from munnerz/sample-controller 2017-10-26 12:35:59 +00:00