chore: fix some comments

Signed-off-by: petercover <raowanxiang@outlook.com>
pull/13653/head
petercover 8 months ago
parent 4aaacfcff1
commit 605b1a0cf7

@ -104,7 +104,7 @@ type Upgrade struct {
// Description is the description of this operation // Description is the description of this operation
Description string Description string
Labels map[string]string Labels map[string]string
// PostRender is an optional post-renderer // PostRenderer is an optional post-renderer
// //
// If this is non-nil, then after templates are rendered, they will be sent to the // If this is non-nil, then after templates are rendered, they will be sent to the
// post renderer before sending to the Kubernetes API server. // post renderer before sending to the Kubernetes API server.

@ -163,7 +163,7 @@ annotations:
return ociAnnotations return ociAnnotations
} }
// getChartOCIAnnotations 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{}

@ -80,7 +80,7 @@ func tsFixtureMemory(t *testing.T) *Memory {
return mem return mem
} }
// newTestFixture initializes a MockConfigMapsInterface. // newTestFixtureCfgMaps initializes a MockConfigMapsInterface.
// ConfigMaps are created for each release provided. // ConfigMaps are created for each release provided.
func newTestFixtureCfgMaps(t *testing.T, releases ...*rspb.Release) *ConfigMaps { func newTestFixtureCfgMaps(t *testing.T, releases ...*rspb.Release) *ConfigMaps {
var mock MockConfigMapsInterface var mock MockConfigMapsInterface

Loading…
Cancel
Save