From 2796d35b9fc4932c99b0f8f5d7d1f1e9b233a90c Mon Sep 17 00:00:00 2001 From: Jordan Olshevski Date: Wed, 13 Dec 2023 20:09:11 +0000 Subject: [PATCH] Correct log arg ordering --- internal/controllers/reconciliation/integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/controllers/reconciliation/integration_test.go b/internal/controllers/reconciliation/integration_test.go index c572c1ab..53f8f123 100644 --- a/internal/controllers/reconciliation/integration_test.go +++ b/internal/controllers/reconciliation/integration_test.go @@ -220,9 +220,9 @@ func (c *crudTestCase) WaitForPhase(t *testing.T, downstream client.Client, phas currentPhase := getPhase(obj) currentRV := obj.GetResourceVersion() if lastRV == "" { - t.Logf("initial resource version %s was observed in phase %s", obj.GetResourceVersion(), currentPhase) + t.Logf("initial resource version %s was observed in phase %s", currentRV, currentPhase) } else if currentRV != lastRV { - t.Logf("resource version transitioned from %s to %s in phase %s", obj.GetResourceVersion(), lastRV, currentPhase) + t.Logf("resource version transitioned from %s to %s in phase %s", lastRV, currentRV, currentPhase) } lastRV = currentRV return err == nil && currentPhase == phase