Skip to content

Commit

Permalink
drop unused check
Browse files Browse the repository at this point in the history
  • Loading branch information
dixudx committed Aug 22, 2019
1 parent d4d696d commit 2771503
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/integration/apiserver/admissionwebhook/admission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,6 @@ func (h *holder) record(version string, phase string, converted bool, request *a
}

name := request.Name
if name == "" && request.Object.Object != nil {
name = request.Object.Object.(*unstructured.Unstructured).GetName()
}
if name != h.recordName {
if debug {
h.t.Log(name, "!=", h.recordName)
Expand Down

0 comments on commit 2771503

Please sign in to comment.