diff --git a/pkg/registry/chart.go b/pkg/registry/chart.go index 634fbfe12..d188c3f52 100644 --- a/pkg/registry/chart.go +++ b/pkg/registry/chart.go @@ -83,7 +83,7 @@ func escapeNonASCII(s string) string { } return result.String() } - + // generateChartOCIAnnotations will generate OCI annotations from the provided chart func generateChartOCIAnnotations(meta *chart.Metadata, creationTime string) map[string]string { chartOCIAnnotations := map[string]string{} diff --git a/pkg/registry/chart_test.go b/pkg/registry/chart_test.go index 071cb513f..e15508557 100644 --- a/pkg/registry/chart_test.go +++ b/pkg/registry/chart_test.go @@ -411,4 +411,4 @@ func TestGenerateChartOCIAnnotations_ASCIIOnly(t *testing.T) { if annotations["org.opencontainers.image.authors"] != "John Smith (john@example.com)" { t.Errorf("Authors should be unchanged for ASCII-only input") } -} \ No newline at end of file +}