Skip to content

Commit

Permalink
CR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
programmer04 committed Jul 28, 2023
1 parent b11a1d3 commit f3247ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/dataplane/kongstate/kongstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (ks *KongState) FillConsumersAndCredentials(
for _, cgName := range consumer.ConsumerGroups {
cg, err := s.GetKongConsumerGroup(consumer.Namespace, cgName)
if err != nil {
failuresCollector.PushResourceFailure(fmt.Sprintf("non-existing consumer group: %q", err), consumer)
failuresCollector.PushResourceFailure(fmt.Sprintf("nonexistent consumer group: %q", err), consumer)
continue
}
c.ConsumerGroups = append(c.ConsumerGroups, kong.ConsumerGroup{
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/configuration/v1/kongconsumer_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type KongConsumer struct {
// Credentials are references to secrets containing a credential to be
// provisioned in Kong.
Credentials []string `json:"credentials,omitempty"`
// ConsumerGroups are references to Consumer Groups (that Consumer wants to be part of)
// ConsumerGroups are references to consumer groups (that consumer wants to be part of)
// provisioned in Kong.
ConsumerGroups []string `json:"consumer_groups,omitempty"`

Expand Down

0 comments on commit f3247ba

Please sign in to comment.