mirror of
https://github.com/containers/podman.git
synced 2025-11-28 17:18:58 +08:00
Merge pull request #27484 from xiaolinny/main
chore: fix the inconsistent method names in the comments
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user