Merge pull request #25764 from xixishidibei/main

chore: fix function name in comment
This commit is contained in:
openshift-merge-bot[bot] 2025-04-02 19:09:30 +00:00 committed by GitHub
commit 1d8947965d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2155,7 +2155,7 @@ func getPersistentVolumeClaimVolume(vName string) *Volume {
}
}
// getConfigMap returns a new ConfigMap Volume given the name and items
// getConfigMapVolume returns a new ConfigMap Volume given the name and items
// of the ConfigMap.
func getConfigMapVolume(vName string, items []map[string]string, optional bool, defaultMode *int32) *Volume { //nolint:unparam
vol := &Volume{

View File

@ -429,7 +429,7 @@ func StartSystemExec(command string, args []string) *PodmanSession {
return &PodmanSession{session}
}
// tagOutPutToMap parses each string in imagesOutput and returns
// tagOutputToMap parses each string in imagesOutput and returns
// a map whose key is a repo, and value is another map whose keys
// are the tags found for that repo. Notice, the first array item will
// be skipped as it's considered to be the header.