Skip to content

Commit be1ea99

Browse files
committed
fix linter
1 parent e3766ab commit be1ea99

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

internal/controller/nemo_entitystore_controller_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ var _ = Describe("NemoEntitystore Controller", func() {
222222
Expect(statusErr.ErrStatus.Details.Causes).To(ContainElement(invalidDatabasePortCause))
223223
})
224224

225-
It("should reject the resource if databaseConfig credentails is missing required fields", func() {
225+
It("should reject the resource if databaseConfig credentials is missing required fields", func() {
226226
resource := &appsv1alpha1.NemoEntitystore{
227227
ObjectMeta: metav1.ObjectMeta{
228228
Name: resourceName,
@@ -244,7 +244,7 @@ var _ = Describe("NemoEntitystore Controller", func() {
244244
Expect(statusErr.ErrStatus.Details.Causes).To(ContainElements(requiredSecretNameCause, requiredUserCause))
245245
})
246246

247-
It("should reject the resource if databaseConfig credentails is invalid", func() {
247+
It("should reject the resource if databaseConfig credentials is invalid", func() {
248248
resource := &appsv1alpha1.NemoEntitystore{
249249
ObjectMeta: metav1.ObjectMeta{
250250
Name: resourceName,
@@ -299,6 +299,7 @@ var _ = Describe("NemoEntitystore Controller", func() {
299299
_, err = reconciler.Reconcile(ctx, reconcile.Request{
300300
NamespacedName: typeNamespacedName,
301301
})
302+
Expect(err).ToNot(HaveOccurred())
302303

303304
err = client.Get(ctx, typeNamespacedName, nemoEntityStore)
304305
Expect(err).ToNot(HaveOccurred())
@@ -318,6 +319,7 @@ var _ = Describe("NemoEntitystore Controller", func() {
318319
_, err = reconciler.Reconcile(ctx, reconcile.Request{
319320
NamespacedName: typeNamespacedName,
320321
})
322+
Expect(err).ToNot(HaveOccurred())
321323

322324
// Nemo Entitystore CR should not exist.
323325
Eventually(func() bool {

0 commit comments

Comments
 (0)