Fix many typos in both code and comments

Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
This commit is contained in:
Vu Cong Tuan
2019-02-15 17:11:29 +07:00
parent 38a325250f
commit c747b7f38d
29 changed files with 47 additions and 47 deletions

View File

@@ -716,7 +716,7 @@ type PodStateVerification struct {
// Optional: only pods passing this function will pass the filter
// Verify a pod.
// As an optimization, in addition to specfying filter (boolean),
// As an optimization, in addition to specifying filter (boolean),
// this function allows specifying an error as well.
// The error indicates that the polling of the pod spectrum should stop.
Verify func(v1.Pod) (bool, error)
@@ -856,7 +856,7 @@ func (cl *ClusterVerification) WaitForOrFail(atLeast int, timeout time.Duration)
}
}
// ForEach runs a function against every verifiable pod. Be warned that this doesn't wait for "n" pods to verifiy,
// ForEach runs a function against every verifiable pod. Be warned that this doesn't wait for "n" pods to verify,
// so it may return very quickly if you have strict pod state requirements.
//
// For example, if you require at least 5 pods to be running before your test will pass,