From 65014402b179b112715380597905a76d235d20ef Mon Sep 17 00:00:00 2001 From: Daniel Fox Date: Mon, 13 Jul 2026 15:27:20 -0700 Subject: [PATCH] Fix up some irrelevant comments Signed-off-by: Daniel Fox --- pkg/pusher/ocipusher.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkg/pusher/ocipusher.go b/pkg/pusher/ocipusher.go index c66f67813..2fbb3ed5b 100644 --- a/pkg/pusher/ocipusher.go +++ b/pkg/pusher/ocipusher.go @@ -89,9 +89,7 @@ func (pusher *OCIPusher) push(chartRef, href string) error { // Build the OCI reference for the chart. When --oci-normalize-version is // set (pusher.opts.ociNormalizeVersion) the tag is the canonical semver - // form of the chart version; otherwise it is the raw chart version. This - // flag is a separate concept from the registry client's own "strict mode" - // (relaxed below). + // form of the chart version; otherwise it is the raw chart version. ref, relaxStrictMode, err := buildOCIReference(href, meta.Metadata.Name, meta.Metadata.Version, pusher.opts.ociNormalizeVersion) if err != nil { return err @@ -99,8 +97,7 @@ func (pusher *OCIPusher) push(chartRef, href string) error { // The registry client's strict mode asserts that the tag equals the raw // chart version. Once the version has been canonicalized the tag no longer - // matches, so that assertion must be disabled. (This is unrelated to the - // --oci-normalize-version flag despite the similar "strict" wording.) + // matches, so that assertion must be disabled. if relaxStrictMode { pushOpts = append(pushOpts, registry.PushOptStrictMode(false)) }