From 79f3ad36776731b1e1010881faad3059448cde86 Mon Sep 17 00:00:00 2001 From: Somtochi Onyekwere Date: Wed, 22 Nov 2023 16:03:48 +0100 Subject: [PATCH] better comment Signed-off-by: Somtochi Onyekwere --- pkg/bootstrap/bootstrap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/bootstrap/bootstrap.go b/pkg/bootstrap/bootstrap.go index 7ada41b0b1..7578dd2f6e 100644 --- a/pkg/bootstrap/bootstrap.go +++ b/pkg/bootstrap/bootstrap.go @@ -226,8 +226,8 @@ func objectReconciled(kube client.Client, objKey client.ObjectKey, clientObject } } -// hasRevision returns checks that the reconciled revision (for Kustomization this is `.status.lastAttemptedRevision` -// and for GitRepository, it is stored in `.status.artifact.revision`) is the same as the expectedRev +// hasRevision checks that the reconciled revision (for Kustomization this is `.status.lastAttemptedRevision` +// and for Source APIs, it is stored in `.status.artifact.revision`) is the same as the expectedRev func hasRevision(kind string, obj map[string]interface{}, expectedRev string) (bool, error) { var rev string switch kind {