Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
f41gh7 committed Dec 17, 2024
1 parent b7c22dc commit 0d1c44c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/childobjects/vmuser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ var _ = Describe("test vmuser Controller", func() {
var vmuser v1beta1vm.VMUser
Expect(k8sClient.Get(ctx, nsn, &vmuser)).To(Succeed())
Expect(vmuser.Status.UpdateStatus).To(Equal(v1beta1vm.UpdateStatusFailed))
Expect(len(vmuser.Status.Conditions) > 0).To(BeTrue())
Expect(vmuser.Status.Conditions).NotTo(BeEmpty())
}
},
},
Expand All @@ -191,7 +191,7 @@ var _ = Describe("test vmuser Controller", func() {
},
StringData: map[string]string{"password": "password"},
}
Expect(k8sClient.Create(ctx, &passwordSecret))
Expect(k8sClient.Create(ctx, &passwordSecret)).To(Succeed())
DeferCleanup(func() {
Expect(k8sClient.Delete(ctx, &passwordSecret)).To(Succeed())
})
Expand Down

0 comments on commit 0d1c44c

Please sign in to comment.