Skip to content

Commit

Permalink
tests: fix data race in KongConsumer data race tests (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek authored Oct 3, 2024
1 parent 974b05a commit 477b132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller/konnect/ops/ops_kongconsumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ func kongConsumerToSDKConsumerInput(
consumer *configurationv1.KongConsumer,
) sdkkonnectcomp.ConsumerInput {
return sdkkonnectcomp.ConsumerInput{
CustomID: &consumer.CustomID,
CustomID: lo.ToPtr(consumer.CustomID),
Tags: GenerateTagsForObject(consumer),
Username: &consumer.Username,
Username: lo.ToPtr(consumer.Username),
}
}

0 comments on commit 477b132

Please sign in to comment.