mirror of https://github.com/containers/podman.git
chore: fix some function names in comment
Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
This commit is contained in:
parent
2f6fca6edc
commit
9abc17f1e1
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue