Skip to content

Commit feeea7e

Browse files
authored
fix function name in comments (#6459)
Signed-off-by: cui fliter <[email protected]>
1 parent 9dd74fb commit feeea7e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hack/generate/samples/internal/go/memcached-with-customization/memcached_with_customization.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func (mh *Memcached) uncommentDefaultKustomizationV3() {
235235
pkg.CheckError("uncommented certificate CR", err)
236236
}
237237

238-
// uncommentDefaultKustomizationV3 will uncomment code in config/default/kustomization.yaml
238+
// uncommentDefaultKustomizationV4 will uncomment code in config/default/kustomization.yaml
239239
func (mh *Memcached) uncommentDefaultKustomizationV4() {
240240
var err error
241241
kustomization := filepath.Join(mh.ctx.Dir, "config", "default", "kustomization.yaml")

internal/annotations/metrics/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func MakeBundleMetadataLabels(layout string) map[string]string {
4949
}
5050
}
5151

52-
// MakeObjectAnnotations returns the SDK metric annotations which will be added
52+
// MakeBundleObjectAnnotations returns the SDK metric annotations which will be added
5353
// to CustomResourceDefinitions and ClusterServiceVersions.
5454
func MakeBundleObjectAnnotations(layout string) map[string]string {
5555
return map[string]string{

internal/cmd/ansible-operator/run/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ func getAnsibleDebugLog() bool {
330330
return val
331331
}
332332

333-
// getAnsibleDebugLog return the integer value of the log level set in the flag
333+
// getAnsibleEventsToLog return the integer value of the log level set in the flag
334334
func getAnsibleEventsToLog(f *flags.Flags) events.LogLevel {
335335
if strings.ToLower(f.AnsibleLogEvents) == "everything" {
336336
return events.Everything

0 commit comments

Comments
 (0)