apiextensions: fix npe in subresource test

This commit is contained in:
Dr. Stefan Schimanski 2019-05-25 16:03:56 +02:00
parent cd0b46874a
commit 74e62b9a77

View File

@ -534,7 +534,7 @@ func TestValidateOnlyStatus(t *testing.T) {
}
createdNoxuInstance, err = noxuResourceClient.UpdateStatus(createdNoxuInstance, metav1.UpdateOptions{})
if err != nil {
t.Errorf("unexpected error: %v", err)
t.Fatalf("unexpected error: %v", err)
}
// update with .status.num = 15, expecting an error