refactor: add newlines suggested by gofmt

Signed-off-by: bassg0navy <bassgonavy@gmail.com>
pull/31591/head
bassg0navy 10 months ago
parent 3a27773483
commit f165de5fab

@ -83,7 +83,7 @@ func escapeNonASCII(s string) string {
} }
return result.String() return result.String()
} }
// generateChartOCIAnnotations will generate OCI annotations from the provided chart // generateChartOCIAnnotations will generate OCI annotations from the provided chart
func generateChartOCIAnnotations(meta *chart.Metadata, creationTime string) map[string]string { func generateChartOCIAnnotations(meta *chart.Metadata, creationTime string) map[string]string {
chartOCIAnnotations := map[string]string{} chartOCIAnnotations := map[string]string{}

@ -411,4 +411,4 @@ func TestGenerateChartOCIAnnotations_ASCIIOnly(t *testing.T) {
if annotations["org.opencontainers.image.authors"] != "John Smith (john@example.com)" { if annotations["org.opencontainers.image.authors"] != "John Smith (john@example.com)" {
t.Errorf("Authors should be unchanged for ASCII-only input") t.Errorf("Authors should be unchanged for ASCII-only input")
} }
} }

Loading…
Cancel
Save