-
Notifications
You must be signed in to change notification settings - Fork 194
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
[Draft] OCM-8721 | ci: Tunning the framework for the OCMResource service to use the action methods #2163
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yasun1 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…se the action methods
@yasun1: all tests passed! Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2163 +/- ##
==========================================
- Coverage 26.67% 26.51% -0.17%
==========================================
Files 152 154 +2
Lines 21403 21720 +317
==========================================
+ Hits 5710 5759 +49
- Misses 15269 15534 +265
- Partials 424 427 +3 ☔ View full report in Codecov by Sentry. |
|
||
func (b *breakglasscredentialService) CleanResources(clusterID string) (errors []error) { | ||
if b.created[clusterID] { | ||
Logger.Infof("Remove remaining break-glass-credentials") | ||
_, err := b.DeleteBreakGlassCredential(clusterID) | ||
_, err := b.Revoke().Help().Run() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an incorrect replacement. It should be b.Revoke().Parameters(clusterID).Run()
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-sigs/prow repository. |
…he action methods