Revert "Merge pull request #10246 from nikhiljindal"
This reverts commita902a2f014
, reversing changes made to7df8d76a93
.
This commit is contained in:
@@ -153,7 +153,7 @@ func TestCreateRegistryError(t *testing.T) {
|
||||
|
||||
pod := validNewPod()
|
||||
_, err := storage.Create(api.NewDefaultContext(), pod)
|
||||
if !errors.IsInternalServerError(err) {
|
||||
if err != fakeEtcdClient.Err {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user