mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Merge pull request #50485 from jianglingxia/jlx081110
Automatic merge from submit-queue get_test.go fix error format and info **What this PR does / why we need it**: there left the only one need modify,thanks **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #49481 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
369d5357f1
@ -351,7 +351,7 @@ func TestGetObjectIgnoreNotFound(t *testing.T) {
|
||||
case p == "/api/v1/namespaces/test" && m == "GET":
|
||||
return &http.Response{StatusCode: 200, Header: defaultHeader(), Body: objBody(codec, &ns.Items[0])}, nil
|
||||
default:
|
||||
t.Fatalf("unexpected request: %#v\n%#v", req.URL, req)
|
||||
t.Fatalf("request url: %#v,and request: %#v", req.URL, req)
|
||||
return nil, nil
|
||||
}
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user