Record the error if we fail to get referenced storageclass and secret.#348
Record the error if we fail to get referenced storageclass and secret.#348k8s-ci-robot merged 1 commit intokubernetes-csi:masterfrom
Conversation
|
@humblec: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/kind cleanup |
c59ecfb to
8b546d4
Compare
|
@msau42 PTAL. |
pkg/controller/controller.go
Outdated
| }, | ||
| }) | ||
| if err != nil { | ||
| klog.Errorf("failed to get secretreference for volume %s: %s", volume.Name, err.Error()) |
There was a problem hiding this comment.
I mean instead of logging the error and then returning the error (which will get logged again), we should just return an error with this extra msg.
There was a problem hiding this comment.
yeah, I went through the code, we are not logging and return an error. sorry for the suggestion to add logging here
|
@msau42 PTAL . hopefully the comments are addressed. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: humblec, msau42 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
travis is stuck for some reason, you may need to force push to retrigger it |
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
Sure, repushed.. @msau42 |
|
@msau42 can you please bring back lgtm and approval ? Thanks in advance. |
|
/lgtm |
Signed-off-by: Humble Chirammal hchiramm@redhat.com
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: