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

Renames NewClient to New to avoid duplication when imported #422

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

m1kola
Copy link
Member

@m1kola m1kola commented Sep 20, 2023

Description

So we can call client.New instead of client.NewClient.

Follow up for https://github.com/operator-framework/operator-controller/pull/413/files#r1330665212

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 20, 2023
@m1kola m1kola changed the title Renames NewClient to New to avoid stuttering Renames NewClient to New to avoid duplication when imported Sep 20, 2023
So we can call `client.New` instead of `client.NewClient`

Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.19% ⚠️

Comparison is base (4b9cfd9) 83.97% compared to head (ddbae60) 83.78%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #422      +/-   ##
==========================================
- Coverage   83.97%   83.78%   -0.19%     
==========================================
  Files          27       27              
  Lines        1073     1073              
==========================================
- Hits          901      899       -2     
- Misses        119      120       +1     
- Partials       53       54       +1     
Flag Coverage Δ
e2e 61.60% <ø> (-0.23%) ⬇️
unit 80.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
internal/catalogmetadata/client/client.go 89.47% <ø> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@m1kola m1kola marked this pull request as ready for review September 20, 2023 10:12
@m1kola m1kola requested a review from a team as a code owner September 20, 2023 10:12
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 20, 2023
Copy link
Contributor

@perdasilva perdasilva left a comment

Choose a reason for hiding this comment

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

lgtm

@m1kola m1kola added this pull request to the merge queue Sep 20, 2023
Merged via the queue into operator-framework:main with commit cdb99fa Sep 20, 2023
11 of 12 checks passed
@m1kola m1kola deleted the renaming branch September 20, 2023 10:52
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.

None yet

3 participants