From 49c4d1e1a89366898eb9acc80810ee253cb50f4a Mon Sep 17 00:00:00 2001 From: Jwalant Modi Date: Wed, 8 Jan 2025 13:05:44 +0530 Subject: [PATCH] Incorporate suggested change. --- test/backup_service/backup_service_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/backup_service/backup_service_test.go b/test/backup_service/backup_service_test.go index f785402f..49dd15ed 100644 --- a/test/backup_service/backup_service_test.go +++ b/test/backup_service/backup_service_test.go @@ -450,7 +450,7 @@ func validatePodObjectMeta(annotations, labels map[string]string) { actual := deploy.Spec.Template.ObjectMeta.Annotations valid := validateLabelsOrAnnotations(actual, annotations) Expect(valid).To( - BeTrue(), "Annotations mismatch. expected %s, found %s", annotations, actual, + BeTrue(), "Annotations mismatch. expected %+v, found %+v", annotations, actual, ) By("Validating Labels") @@ -458,6 +458,6 @@ func validatePodObjectMeta(annotations, labels map[string]string) { actual = deploy.Spec.Template.ObjectMeta.Labels valid = validateLabelsOrAnnotations(actual, labels) Expect(valid).To( - BeTrue(), "Labels mismatch. expected %s, found %s", labels, actual, + BeTrue(), "Labels mismatch. expected %+v, found %+v", labels, actual, ) }