chore: fix some function names in comment

Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
This commit is contained in:
shenpengfeng
2024-10-29 17:57:31 +08:00
parent 2f6fca6edc
commit 9abc17f1e1
3 changed files with 3 additions and 3 deletions

View File

@ -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{

View File

@ -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
}

View File

@ -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)
}