Skip to content

Commit 4e169da

Browse files
committed
chore: fix the inconsistent method names in the comments
Signed-off-by: xiaolinny <[email protected]>
1 parent 0aa3f74 commit 4e169da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/util/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ func IDtoolsToRuntimeSpec(idMaps []idtools.IDMap) (convertedIDMap []specs.LinuxI
11771177
return convertedIDMap
11781178
}
11791179

1180-
// RuntimeSpecToIDtoolsTo converts runtime spec to the one of the idtools ID mapping
1180+
// RuntimeSpecToIDtools converts runtime spec to the one of the idtools ID mapping
11811181
func RuntimeSpecToIDtools(idMaps []specs.LinuxIDMapping) (convertedIDMap []idtools.IDMap) {
11821182
for _, idmap := range idMaps {
11831183
tempIDMap := idtools.IDMap{

test/e2e/common_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ const (
294294
PodmanTestCreateUtilTargetMTLS = "mtls"
295295
)
296296

297-
// PodmanTestCreate creates a PodmanTestIntegration instance for the tests
297+
// PodmanTestCreateUtil creates a PodmanTestIntegration instance for the tests
298298
func PodmanTestCreateUtil(tempDir string, target PodmanTestCreateUtilTarget) *PodmanTestIntegration {
299299
host := GetHostDistributionInfo()
300300
cwd, _ := os.Getwd()
@@ -964,7 +964,7 @@ func (p *PodmanTestIntegration) CleanupVolume() {
964964
checkStderrCleanupError(session, "volume rm -fa error logged")
965965
}
966966

967-
// CleanupSecret cleans up the secrets and containers.
967+
// CleanupSecrets cleans up the secrets and containers.
968968
// This already calls Cleanup() internally.
969969
func (p *PodmanTestIntegration) CleanupSecrets() {
970970
// Remove all containers

0 commit comments

Comments
 (0)