-
Notifications
You must be signed in to change notification settings - Fork 2k
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
refactor: KSM Cyclomatic fix for Job and PV files #2092
Conversation
Changes to be committed: modified: internal/store/job.go modified: internal/store/persistentvolume.go
@rexagod Pushed changes for Job.go and persistentVolume.go. Please review |
/cc @rexagod |
@rexagod @CatherineF-dev @fpetkovski can you please review and share your comments |
Reviewed internal/store/job.go. If you split this PR into two PRs (job and pv), I think the job one can be merged asap. |
reverting the Persistent volume changes Changes to be committed: modified: internal/store/job.go modified: internal/store/persistentvolume.go
…/kube-state-metrics into gocylo_incremental_fix
…/kube-state-metrics into gocylo_incremental_fix
@CatherineF-dev I reverted the pv changes. Please check. |
Changes to be committed: modified: internal/store/persistentvolume.go
…/kube-state-metrics into gocylo_incremental_fix
/triage accepted |
/assign @rexagod |
@rexagod @CatherineF-dev Can you please look at the changes? |
/lgtm Waiting @rexagod's review |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: CatherineF-dev, venkatbvc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@rexagod can you please review? |
Hello, @venkatbvc. Thank you for the PR, however, there's some development recently that affects the areas covered by the parent issue. With the CEL and CRD changes planned for the near future, we are again going to need to check for any lint (warn-level, that do not block the CI) issues again once those changes are in. I think it's better to stall this for now and resume this effort once that is done with to avoid repeating the same effort. In the meantime, if you're looking for a |
/hold |
@rexagod Sure we will wait. This week i am little busy. i will get in touch with you next week |
PR needs rebase. Instructions 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. |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
Instructions 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. |
Fixed cyclomatic complexity for Job.go and persistentVolume.go files
Changes to be committed:
modified: internal/store/job.go
modified: internal/store/persistentvolume.go
What this PR does / why we need it:
Fix the cyclomatic complexity for job.go and persistentVolume.go
How does this change affect the cardinality of KSM: (increases, decreases or does not change cardinality)
No change to cardinality
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Fixes partially 1887