diff --git a/pkg/controller/association/reconciler.go b/pkg/controller/association/reconciler.go index 181c6121ad..e6c74cb77b 100644 --- a/pkg/controller/association/reconciler.go +++ b/pkg/controller/association/reconciler.go @@ -42,7 +42,7 @@ var ( // timeToExpectServiceAfterCreation is an arbitrary time to wait after the associated object is created and start logging // an error if the service of the associated object cannot be found - timeToExpectServiceAfterCreation = 5*time.Second + timeToExpectServiceAfterCreation = 5 * time.Second ) // AssociationInfo contains information specific to a particular associated resource (eg. Kibana, APMServer, etc.). diff --git a/pkg/controller/association/reconciler_test.go b/pkg/controller/association/reconciler_test.go index affb3bc8ba..fdd071ece2 100644 --- a/pkg/controller/association/reconciler_test.go +++ b/pkg/controller/association/reconciler_test.go @@ -108,8 +108,8 @@ var ( sampleKibanaNoEsRef = func() kbv1.Kibana { return kbv1.Kibana{ ObjectMeta: metav1.ObjectMeta{ - Namespace: kibanaNamespace, - Name: "kbname", + Namespace: kibanaNamespace, + Name: "kbname", CreationTimestamp: metav1.Now(), }, }