Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Fix the internal consumer ID in the hydrator's certificate subject ma…
Browse files Browse the repository at this point in the history
…ppings cache (#3883)
  • Loading branch information
PetarTodorovv authored May 17, 2024
1 parent aa65a30 commit 0a771b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/hydrator/internal/certsubjectmapping/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ func (cl *certSubjectMappingLoader) loadCertSubjectMappings(ctx context.Context,

func convertGQLCertSubjectMappings(gqlMappings []*schema.CertificateSubjectMapping) []certsubjmapping.SubjectConsumerTypeMapping {
m := make([]certsubjmapping.SubjectConsumerTypeMapping, 0, len(gqlMappings))
var internalConsumerID string
for _, e := range gqlMappings {
var internalConsumerID string
if e.InternalConsumerID != nil {
internalConsumerID = *e.InternalConsumerID
}
Expand Down

0 comments on commit 0a771b7

Please sign in to comment.