Skip to content

Commit 9dce4c0

Browse files
Fix Go vet errors for master golang
Co-authored-by: Rajalakshmi-Girish <[email protected]> Co-authored-by: Abhishek Kr Srivastav <[email protected]> Kubernetes-commit: 9d10ddb0608aa20ce287c89be879f888f5823cf9
1 parent 67f4a1d commit 9dce4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/apiserver/validation/validation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ func TestValidateCustomResource(t *testing.T) {
620620
}
621621
errs, _ := celValidator.Validate(context.TODO(), nil, structural, obj, oldObject, celconfig.RuntimeCELCostBudget)
622622
if len(errs) > 0 {
623-
t.Errorf(errs.ToAggregate().Error())
623+
t.Error(errs.ToAggregate().Error())
624624
}
625625
}
626626
for i, failingObject := range tt.failingObjects {

0 commit comments

Comments
 (0)