sample-controller/vendor/k8s.io/apimachinery/pkg
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
..
api Merge pull request #62273 from atlassian/dont-log-when-error-returned 2018-04-12 15:18:59 +00:00
apis/meta Merge pull request #62273 from atlassian/dont-log-when-error-returned 2018-04-12 15:18:59 +00:00
conversion Merge pull request #59172 from fisherxu/removeyear 2018-03-21 23:28:20 +00:00
fields sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-21 23:27:59 +00:00
labels Merge pull request #59172 from fisherxu/removeyear 2018-03-21 23:28:20 +00:00
runtime Merge pull request #60021 from nikhita/sample-controller-subresources 2018-04-06 12:05:08 +00:00
selection sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-21 23:27:59 +00:00
types Merge pull request #61800 from rithujohn191/remove-gopass 2018-04-06 12:04:33 +00:00
util Merge pull request #60021 from nikhita/sample-controller-subresources 2018-04-06 12:05:08 +00:00
version sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-21 23:27:59 +00:00
watch Merge pull request #61800 from rithujohn191/remove-gopass 2018-04-06 12:04:33 +00:00