From 9abc17f1e1bc86f0150d45462b51f545e1b41e57 Mon Sep 17 00:00:00 2001 From: shenpengfeng Date: Tue, 29 Oct 2024 17:57:31 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: shenpengfeng --- test/e2e/play_kube_test.go | 2 +- test/framework/framework.go | 2 +- test/utils/utils.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go index 2d89450b08..31e715b416 100644 --- a/test/e2e/play_kube_test.go +++ b/test/e2e/play_kube_test.go @@ -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{ diff --git a/test/framework/framework.go b/test/framework/framework.go index 6ba33db321..196e7345dc 100644 --- a/test/framework/framework.go +++ b/test/framework/framework.go @@ -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 } diff --git a/test/utils/utils.go b/test/utils/utils.go index da4fa57865..30a0107596 100644 --- a/test/utils/utils.go +++ b/test/utils/utils.go @@ -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) }