mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 20:54:08 +00:00
apiextensions: fix npe in subresource test
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user