mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
apiextensions: fix npe in subresource test
This commit is contained in:
parent
cd0b46874a
commit
74e62b9a77
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user