Repeated err judgment in ns_conditions_test.go
Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
@@ -125,9 +125,6 @@ func rmSetup(t *testing.T) (*httptest.Server, framework.CloseFunc, *replication.
|
||||
replication.BurstReplicas,
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to create replication controller")
|
||||
}
|
||||
return s, closeFn, rm, informers, clientSet
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user