Fixes + stable gateway ids
This commit is contained in:
@@ -163,6 +163,9 @@ func (s *Service) startDiscoveryAnnouncer() {
|
||||
}
|
||||
announce.Currencies = currenciesFromDescriptor(s.gatewayDescriptor)
|
||||
}
|
||||
if strings.TrimSpace(announce.ID) == "" {
|
||||
announce.ID = "card_payout_rail_gateway"
|
||||
}
|
||||
s.announcer = discovery.NewAnnouncer(s.logger, s.producer, string(mservice.MntxGateway), announce)
|
||||
s.announcer.Start()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user