chore: fix function name in comment

Signed-off-by: xixishidibei <xixishidibei@outlook.com>
This commit is contained in:
xixishidibei
2025-04-02 21:26:27 +08:00
parent 53be17d126
commit 040385ef9b
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.