File tree Expand file tree Collapse file tree 3 files changed +515
-4
lines changed Expand file tree Collapse file tree 3 files changed +515
-4
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ func TestClusterScopeMethods(t *testing.T) {
164
164
Client : mockK8sClient ,
165
165
})
166
166
if err != nil {
167
- t .Errorf ("ClusterScope () error = %v" , err )
167
+ t .Errorf ("NewClusterScope () error = %v" , err )
168
168
}
169
169
170
170
if err := cScope .AddFinalizer (context .Background ()); err != nil {
Original file line number Diff line number Diff line change @@ -10,21 +10,20 @@ import (
10
10
corev1 "k8s.io/api/core/v1"
11
11
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
12
12
"sigs.k8s.io/cluster-api/util/patch"
13
- "sigs.k8s.io/controller-runtime/pkg/client"
14
13
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
15
14
16
15
infrav1alpha1 "github.com/linode/cluster-api-provider-linode/api/v1alpha1"
17
16
)
18
17
19
18
type ObjectStorageBucketScopeParams struct {
20
- Client client. Client
19
+ Client k8sClient
21
20
LinodeClientBuilder LinodeObjectStorageClientBuilder
22
21
Bucket * infrav1alpha1.LinodeObjectStorageBucket
23
22
Logger * logr.Logger
24
23
}
25
24
26
25
type ObjectStorageBucketScope struct {
27
- client client. Client
26
+ client k8sClient
28
27
Bucket * infrav1alpha1.LinodeObjectStorageBucket
29
28
Logger logr.Logger
30
29
LinodeClient LinodeObjectStorageClient
You can’t perform that action at this time.
0 commit comments