Skip to content

Commit

Permalink
Incorporate suggested change.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwalantmodi05 committed Jan 8, 2025
1 parent 197565a commit 49c4d1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/backup_service/backup_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,14 +450,14 @@ 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")

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,
)
}

0 comments on commit 49c4d1e

Please sign in to comment.