From 4e169dac8f6fad61a7ae0c1128a7d93f12e9a2f2 Mon Sep 17 00:00:00 2001 From: xiaolinny Date: Mon, 10 Nov 2025 15:24:17 +0800 Subject: [PATCH] chore: fix the inconsistent method names in the comments Signed-off-by: xiaolinny --- pkg/util/utils.go | 2 +- test/e2e/common_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/util/utils.go b/pkg/util/utils.go index 5c7fede30e..c7327918c4 100644 --- a/pkg/util/utils.go +++ b/pkg/util/utils.go @@ -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{ diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index 1b3eb9144d..e4242e56b1 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -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