Merge pull request #27484 from xiaolinny/main

chore: fix the inconsistent method names in the comments
This commit is contained in:
openshift-merge-bot[bot] 2025-11-10 20:18:48 +00:00 • committed by GitHub
commit 481c5d9fab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -1177,7 +1177,7 @@ func IDtoolsToRuntimeSpec(idMaps []idtools.IDMap) (convertedIDMap []specs.LinuxI
return convertedIDMap
}
// RuntimeSpecToIDtoolsTo converts runtime spec to the one of the idtools ID mapping
// RuntimeSpecToIDtools converts runtime spec to the one of the idtools ID mapping
func RuntimeSpecToIDtools(idMaps []specs.LinuxIDMapping) (convertedIDMap []idtools.IDMap) {
for _, idmap := range idMaps {
tempIDMap := idtools.IDMap{

View file

@ -294,7 +294,7 @@ const (
PodmanTestCreateUtilTargetMTLS = "mtls"
)
// PodmanTestCreate creates a PodmanTestIntegration instance for the tests
// PodmanTestCreateUtil creates a PodmanTestIntegration instance for the tests
func PodmanTestCreateUtil(tempDir string, target PodmanTestCreateUtilTarget) *PodmanTestIntegration {
host := GetHostDistributionInfo()
cwd, _ := os.Getwd()
@ -964,7 +964,7 @@ func (p *PodmanTestIntegration) CleanupVolume() {
checkStderrCleanupError(session, "volume rm -fa error logged")
}
// CleanupSecret cleans up the secrets and containers.
// CleanupSecrets cleans up the secrets and containers.
// This already calls Cleanup() internally.
func (p *PodmanTestIntegration) CleanupSecrets() {
// Remove all containers