Skip to content

Commit da88378

Browse files
authored
scorecard: add missing space to suggestion (#6370)
Resources with no status produce the following warning: > ... does not have status spec. Note thatAll objects that represent a > physical resource ... This adds the missing space between "that" and "All", and lower-cases the "a" in "all". Signed-off-by: Stephen Kitt <[email protected]>
1 parent cb83a61 commit da88378

File tree

1 file changed

+2
-2
lines changed
  • internal/scorecard/tests

1 file changed

+2
-2
lines changed

internal/scorecard/tests/olm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ func checkOwnedCSVStatusDescriptor(cr unstructured.Unstructured, csv *operatorsv
257257
}
258258

259259
if !hasStatusDefinition {
260-
r.Suggestions = append(r.Suggestions, fmt.Sprintf("%s does not have status spec. Note that"+
261-
"All objects that represent a physical resource whose state may vary from the user's desired "+
260+
r.Suggestions = append(r.Suggestions, fmt.Sprintf("%s does not have status spec. Note that "+
261+
"all objects that represent a physical resource whose state may vary from the user's desired "+
262262
"intent SHOULD have a spec and a status. "+
263263
"More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", crdDescription.Name))
264264
}

0 commit comments

Comments
 (0)