Skip to content

Commit

Permalink
rectify lint err
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvajagtap committed May 3, 2024
1 parent a3a1b7e commit 5507f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func TestTruncateCRDFieldTransformer(t *testing.T) {
- tst
`
u := &unstructured.Unstructured{}
yaml.Unmarshal([]byte(crdYaml), &u.Object)
_ = yaml.Unmarshal([]byte(crdYaml), &u.Object)
TruncateCRDFieldTransformer("description", 10)(u)

isDscriptionTruncated := CheckNestedFieldLengthWithinLimit(u.Object, 10, "description")
Expand Down

0 comments on commit 5507f22

Please sign in to comment.