Skip to content

Commit

Permalink
chore: typo in controller/konnect/index_credentials_apikey.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Sep 25, 2024
1 parent 1f3fae0 commit ce47c5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controller/konnect/index_credentials_apikey.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ func IndexOptionsForCredentialsAPIKey() []ReconciliationIndexOption {
{
IndexObject: &configurationv1alpha1.KongCredentialAPIKey{},
IndexField: IndexFieldKongCredentialAPIKeyReferencesKongConsumer,
ExtractValue: kongKongCredentialAPIKeyReferencesConsumer,
ExtractValue: kongCredentialAPIKeyReferencesConsumer,
},
}
}

// kongKongCredentialAPIKeyReferencesConsumer returns the name of referenced Consumer.
func kongKongCredentialAPIKeyReferencesConsumer(obj client.Object) []string {
// kongCredentialAPIKeyReferencesConsumer returns the name of referenced Consumer.
func kongCredentialAPIKeyReferencesConsumer(obj client.Object) []string {
cred, ok := obj.(*configurationv1alpha1.KongCredentialAPIKey)
if !ok {
return nil
Expand Down

0 comments on commit ce47c5b

Please sign in to comment.