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 {