Skip to content
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

SANDBOX-681: add ban reason to NewBannedUser func #427

Merged

Conversation

rsoaresd
Copy link
Contributor

@rsoaresd rsoaresd commented Sep 9, 2024

Description

  • add ban reason to NewBannedUser func

Issue ticket number and link

SANDBOX-681

Associated PRs:

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.36%. Comparing base (d55d86f) to head (6fb53bc).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
pkg/cluster/service.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #427      +/-   ##
==========================================
+ Coverage   77.35%   77.36%   +0.01%     
==========================================
  Files          49       49              
  Lines        2009     2010       +1     
==========================================
+ Hits         1554     1555       +1     
  Misses        401      401              
  Partials       54       54              
Files with missing lines Coverage Δ
pkg/banneduser/banneduser.go 100.00% <100.00%> (ø)
pkg/cluster/service.go 80.83% <0.00%> (ø)

Copy link
Contributor

@mfrancisc mfrancisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

pkg/banneduser/banneduser.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@alexeykazakov alexeykazakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
But don't forget to check all the repos (host, member, e2e, reg-service, ksctl, sre) and update them if they use this API.

Copy link
Contributor

@ranakan19 ranakan19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, nothing more to add to existing feedback from alexey and francisc

@MatousJobanek
Copy link
Contributor

But don't forget to check all the repos (host, member, e2e, reg-service, ksctl, sre) and update them if they use this API.

I think that we use this function in ksctl and workload-analyzer only

Copy link

sonarcloud bot commented Sep 10, 2024

@rsoaresd
Copy link
Contributor Author

rsoaresd commented Sep 10, 2024

But don't forget to check all the repos (host, member, e2e, reg-service, ksctl, sre) and update them if they use this API.

I think that we use this function in ksctl and workload-analyzer only

Yes! :)

@rsoaresd rsoaresd merged commit 38ba816 into codeready-toolchain:master Sep 11, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants