mirror of
https://github.com/containers/podman.git
synced 2025-05-17 06:59:07 +08:00
chore: fix some function names in comment
Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
This commit is contained in:
@ -2143,7 +2143,7 @@ func getHostPathVolume(vType, vPath string) *Volume {
|
||||
}
|
||||
}
|
||||
|
||||
// getHostPathVolume takes a name for a Persistentvolumeclaim
|
||||
// getPersistentVolumeClaimVolume takes a name for a Persistentvolumeclaim
|
||||
// volume giving it a default name of volName
|
||||
func getPersistentVolumeClaimVolume(vName string) *Volume {
|
||||
return &Volume{
|
||||
|
@ -27,7 +27,7 @@ func NewTestFramework(
|
||||
}
|
||||
}
|
||||
|
||||
// NilFn is a convenience function which simply does nothing
|
||||
// NilFunc is a convenience function which simply does nothing
|
||||
func NilFunc(f *TestFramework) error {
|
||||
return nil
|
||||
}
|
||||
|
@ -244,7 +244,7 @@ func WaitForContainer(p PodmanTestCommon) bool {
|
||||
return p.WaitForContainer()
|
||||
}
|
||||
|
||||
// WaitForContainerReady is a wrapper function for accept inheritance PodmanTest struct.
|
||||
// WaitContainerReady is a wrapper function for accept inheritance PodmanTest struct.
|
||||
func WaitContainerReady(p PodmanTestCommon, id string, expStr string, timeout int, step int) bool {
|
||||
return p.WaitContainerReady(id, expStr, timeout, step)
|
||||
}
|
||||
|
Reference in New Issue
Block a user