Skip to content

Commit

Permalink
Merge pull request kubernetes#417 from kubernetes/Jefftree-patch-1
Browse files Browse the repository at this point in the history
Fix typo in handler3/handler_test
  • Loading branch information
k8s-ci-robot authored Aug 11, 2023
2 parents 3c0fae5 + c176159 commit 7ac0aad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/handler/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func TestRegisterOpenAPIVersionedService(t *testing.T) {

_, _, err = mime.ParseMediaType(responseContentType)
if err != nil {
t.Errorf("Unexpected error in prarsing response content type: %v, err: %v", responseContentType, err)
t.Errorf("Unexpected error in parsing response content type: %v, err: %v", responseContentType, err)
}

defer resp.Body.Close()
Expand Down
2 changes: 1 addition & 1 deletion pkg/handler3/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func TestRegisterOpenAPIVersionedService(t *testing.T) {
}
_, _, err = mime.ParseMediaType(responseContentType)
if err != nil {
t.Errorf("Unexpected error in prarsing response content type: %v, err: %v", responseContentType, err)
t.Errorf("Unexpected error in parsing response content type: %v, err: %v", responseContentType, err)
}

gotETag := resp.Header.Get("ETag")
Expand Down

0 comments on commit 7ac0aad

Please sign in to comment.