Skip to content

Commit 68a83cf

Browse files
committed
Fix linter errors
1 parent a9a467b commit 68a83cf

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

internal/controller/opbatcher_controller_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ var _ = Describe("OpBatcher Controller", func() {
314314

315315
// First reconcile - typically adds finalizer
316316
result, err := controllerReconciler.Reconcile(ctx, req)
317-
fmt.Fprintf(GinkgoWriter, "First reconcile result: %+v, error: %v\n", result, err)
317+
_, _ = fmt.Fprintf(GinkgoWriter, "First reconcile result: %+v, error: %v\n", result, err)
318318
Expect(err).NotTo(HaveOccurred())
319319

320320
// Second reconcile - handles main logic
321321
result, err = controllerReconciler.Reconcile(ctx, req)
322-
fmt.Fprintf(GinkgoWriter, "Second reconcile result: %+v, error: %v\n", result, err)
322+
_, _ = fmt.Fprintf(GinkgoWriter, "Second reconcile result: %+v, error: %v\n", result, err)
323323
Expect(err).NotTo(HaveOccurred())
324324

325325
By("Checking that OpBatcher was updated with proper conditions")
@@ -331,10 +331,10 @@ var _ = Describe("OpBatcher Controller", func() {
331331
}, timeout, interval).Should(Succeed())
332332

333333
// Debug: Print actual conditions and phase
334-
fmt.Fprintf(GinkgoWriter, "Actual Phase: %s\n", opbatcher.Status.Phase)
335-
fmt.Fprintf(GinkgoWriter, "Actual Conditions:\n")
334+
_, _ = fmt.Fprintf(GinkgoWriter, "Actual Phase: %s\n", opbatcher.Status.Phase)
335+
_, _ = fmt.Fprintf(GinkgoWriter, "Actual Conditions:\n")
336336
for _, condition := range opbatcher.Status.Conditions {
337-
fmt.Fprintf(GinkgoWriter, " - Type: %s, Status: %s, Reason: %s, Message: %s\n",
337+
_, _ = fmt.Fprintf(GinkgoWriter, " - Type: %s, Status: %s, Reason: %s, Message: %s\n",
338338
condition.Type, condition.Status, condition.Reason, condition.Message)
339339
}
340340

0 commit comments

Comments
 (0)