Skip to content

Commit

Permalink
Fix issue 2699 (#2778)
Browse files Browse the repository at this point in the history
The rc.id is always nil because it is never assigned.
  • Loading branch information
LQyt2012 authored Feb 20, 2025
1 parent a15c2c5 commit 2b15cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/reference_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func (rc *ReferenceConfig) getURLMap() url.Values {

// GenericLoad ...
func (rc *ReferenceConfig) GenericLoad(id string) {
genericService := generic.NewGenericService(rc.id)
genericService := generic.NewGenericService(id)
SetConsumerService(genericService)
rc.id = id
rc.Refer(genericService)
Expand Down

0 comments on commit 2b15cb0

Please sign in to comment.