@@ -512,7 +512,7 @@ func TestSyncCatalogSources(t *testing.T) {
512
512
Namespace : "cool-namespace" ,
513
513
UID : types .UID ("configmap-uid" ),
514
514
ResourceVersion : "resource-version" ,
515
- LastUpdateTime : now ,
515
+ LastUpdateTime : now ,
516
516
},
517
517
RegistryServiceStatus : nil ,
518
518
},
@@ -854,7 +854,7 @@ func NewFakeOperator(ctx context.Context, namespace string, watchedNamespaces []
854
854
var sharedInformers []cache.SharedIndexInformer
855
855
for _ , ns := range watchedNamespaces {
856
856
if ns != namespace {
857
- _ , err := opClientFake .KubernetesInterface ().CoreV1 ().Namespaces ().Create (& corev1.Namespace {ObjectMeta : metav1.ObjectMeta {Name : namespace }})
857
+ _ , err := opClientFake .KubernetesInterface ().CoreV1 ().Namespaces ().Create (& corev1.Namespace {ObjectMeta : metav1.ObjectMeta {Name : ns }})
858
858
if err != nil {
859
859
return nil , err
860
860
}
@@ -917,7 +917,7 @@ func NewFakeOperator(ctx context.Context, namespace string, watchedNamespaces []
917
917
reconciler : config .reconciler ,
918
918
clientAttenuator : scoped .NewClientAttenuator (logger , & rest.Config {}, opClientFake , clientFake ),
919
919
serviceAccountQuerier : scoped .NewUserDefinedServiceAccountQuerier (logger , clientFake ),
920
- catsrcQueueSet : queueinformer .NewEmptyResourceQueueSet (),
920
+ catsrcQueueSet : queueinformer .NewEmptyResourceQueueSet (),
921
921
}
922
922
op .sources = grpc .NewSourceStore (config .logger , 1 * time .Second , 5 * time .Second , op .syncSourceState )
923
923
if op .reconciler == nil {
0 commit comments