chore: fix the inconsistent method names in the comments

Signed-off-by: xiaolinny <xiaolincode@outlook.com>
This commit is contained in:
xiaolinny
2025-11-10 15:24:17 +08:00
parent 0aa3f74ccd
commit 4e169dac8f
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