Skip to content

Commit aad05b0

Browse files
committed
Address false positive recvcheck linter warning
Signed-off-by: Nic Cope <[email protected]>
1 parent a592ede commit aad05b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apis/common/v1/condition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const (
6868
// See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
6969

7070
// A Condition that may apply to a resource.
71-
type Condition struct {
71+
type Condition struct { //nolint:recvcheck // False positive - only has non-pointer methods AFAICT.
7272
// Type of this condition. At most one of each condition type may apply to
7373
// a resource at any point in time.
7474
Type ConditionType `json:"type"`

0 commit comments

Comments
 (0)