Merge pull request #111228 from Abirdcfly/220716

clean unreachable code
This commit is contained in:
Kubernetes Prow Robot
2022-07-27 11:35:00 -07:00
committed by GitHub
3 changed files with 4 additions and 6 deletions

View File

@@ -1897,7 +1897,6 @@ func compareEndpointsMapsStr(t *testing.T, newMap EndpointsMap, expected map[Ser
newEp, ok := newMap[x][i].(*BaseEndpointInfo)
if !ok {
t.Fatalf("Failed to cast endpointsInfo")
continue
}
if !endpointEqual(newEp, expected[x][i]) {
t.Fatalf("expected new[%v][%d] to be %v, got %v"+