Skip to content

Commit

Permalink
chore: improve docs about selector field name
Browse files Browse the repository at this point in the history
Signed-off-by: Yordis Prieto <[email protected]>
  • Loading branch information
yordis committed May 7, 2024
1 parent 0fb9c98 commit 6a23030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/configuring-a-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ type Reference struct {
// <field-name>Ref or <field-name>Refs.
// Optional
RefFieldName string
// SelectorFieldName is the field name for the Selector field. Defaults to
// SelectorFieldName is the Go field name for the Selector field. Defaults to
// <field-name>Selector.
// Optional
SelectorFieldName string
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ type Reference struct {
// <field-name>Ref or <field-name>Refs.
// Optional
RefFieldName string
// SelectorFieldName is the field name for the Selector field. Defaults to
// SelectorFieldName is the Go field name for the Selector field. Defaults to
// <field-name>Selector.
// Optional
SelectorFieldName string
Expand Down

0 comments on commit 6a23030

Please sign in to comment.