Skip to content

Commit e6a1f68

Browse files
authored
Merge pull request #1199 from winrouter/master
Typo fix in critest
2 parents 8cfb943 + 2ee62a0 commit e6a1f68

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pkg/framework/test_context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func RegisterFlags() {
171171

172172
// Loads any external file-based parameters into the TestContextType.
173173
func (tc TestContextType) LoadYamlConfigFiles() error {
174-
// Attempt to load cusom images file:
174+
// Attempt to load custom images file:
175175
if testImagesFilePath != "" {
176176
err := LoadYamlFile(testImagesFilePath, &TestContext.TestImageList)
177177
if err != nil {

pkg/validate/pod.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var _ = framework.KubeDescribe("PodSandbox", func() {
5454
podID = testRunDefaultPodSandbox(rc)
5555

5656
By("test list PodSandbox")
57-
pods := listPodSanboxForID(rc, podID)
57+
pods := listPodSandboxForID(rc, podID)
5858
Expect(podSandboxFound(pods, podID)).To(BeTrue(), "PodSandbox should be listed")
5959
})
6060

@@ -135,12 +135,12 @@ func removePodSandbox(c internalapi.RuntimeService, podID string) {
135135
// testRemovePodSandbox removes a PodSandbox and make sure it is removed.
136136
func testRemovePodSandbox(c internalapi.RuntimeService, podID string) {
137137
removePodSandbox(c, podID)
138-
pods := listPodSanboxForID(c, podID)
138+
pods := listPodSandboxForID(c, podID)
139139
Expect(podSandboxFound(pods, podID)).To(BeFalse(), "PodSandbox should be removed")
140140
}
141141

142-
// listPodSanboxForID lists PodSandbox for podID.
143-
func listPodSanboxForID(c internalapi.RuntimeService, podID string) []*runtimeapi.PodSandbox {
142+
// listPodSandboxForID lists PodSandbox for podID.
143+
func listPodSandboxForID(c internalapi.RuntimeService, podID string) []*runtimeapi.PodSandbox {
144144
By("List PodSandbox for podID: " + podID)
145145
filter := &runtimeapi.PodSandboxFilter{
146146
Id: podID,

0 commit comments

Comments
 (0)