From 99d136bfe0f6f895eaf89d052c7bc95bca53b9f6 Mon Sep 17 00:00:00 2001 From: Neo2308 Date: Thu, 7 Sep 2023 11:02:59 +0530 Subject: [PATCH] Fix sanity test failure Signed-off-by: Neo2308 --- internal/ansible/handler/logging_enqueue_owner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ansible/handler/logging_enqueue_owner.go b/internal/ansible/handler/logging_enqueue_owner.go index d44085aecc7..adcfa6f5bd0 100644 --- a/internal/ansible/handler/logging_enqueue_owner.go +++ b/internal/ansible/handler/logging_enqueue_owner.go @@ -138,7 +138,7 @@ func (e *enqueueRequestForOwner) parseOwnerTypeGroupKind(scheme *runtime.Scheme) // Expect only 1 kind. If there is more than one kind this is probably an edge case such as ListOptions. if len(kinds) != 1 { err := fmt.Errorf("expected exactly 1 kind for OwnerType %T, but found %s kinds", e.ownerType, kinds) - log.Error(nil, "expected exactly 1 kind for OwnerType", "owner type", fmt.Sprintf("%T", e.ownerType), "kinds", kinds) + log.Error(nil, "Expected exactly 1 kind for OwnerType", "owner type", fmt.Sprintf("%T", e.ownerType), "kinds", kinds) return err } // Cache the Group and Kind for the OwnerType