We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NewClient
New
1 parent 4b9cfd9 commit cdb99faCopy full SHA for cdb99fa
internal/catalogmetadata/client/client.go
@@ -12,7 +12,7 @@ import (
12
"github.com/operator-framework/operator-controller/internal/catalogmetadata"
13
)
14
15
-func NewClient(cl client.Client) *Client {
+func New(cl client.Client) *Client {
16
return &Client{cl: cl}
17
}
18
internal/catalogmetadata/client/client_test.go
@@ -111,7 +111,7 @@ func TestClient(t *testing.T) {
111
ctx := context.Background()
112
objs, expectedBundles := tt.fakeCatalog()
113
114
- fakeCatalogClient := catalogClient.NewClient(
+ fakeCatalogClient := catalogClient.New(
115
fake.NewClientBuilder().WithScheme(scheme).WithObjects(objs...).Build(),
116
117
0 commit comments