Skip to content

Commit

Permalink
Fix Go vet errors for master golang
Browse files Browse the repository at this point in the history
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>

Kubernetes-commit: 9d10ddb0608aa20ce287c89be879f888f5823cf9
  • Loading branch information
srivastav-abhishek authored and k8s-publishing-bot committed Sep 12, 2024
1 parent 67f4a1d commit 9dce4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apiserver/validation/validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ func TestValidateCustomResource(t *testing.T) {
}
errs, _ := celValidator.Validate(context.TODO(), nil, structural, obj, oldObject, celconfig.RuntimeCELCostBudget)
if len(errs) > 0 {
t.Errorf(errs.ToAggregate().Error())
t.Error(errs.ToAggregate().Error())
}
}
for i, failingObject := range tt.failingObjects {
Expand Down

0 comments on commit 9dce4c0

Please sign in to comment.