changeUDP

This commit is contained in:
caiyixiang 2017-02-07 14:35:39 +08:00
parent 016f3a2bc7
commit 229250f419
3 changed files with 4 additions and 4 deletions

View file

@ -391,7 +391,7 @@ func (ic *GenericController) sync(key interface{}) error {
Backends: upstreams,
Servers: servers,
TCPEndpoints: ic.getStreamServices(ic.cfg.TCPConfigMapName, api.ProtocolTCP),
UPDEndpoints: ic.getStreamServices(ic.cfg.UDPConfigMapName, api.ProtocolUDP),
UDPEndpoints: ic.getStreamServices(ic.cfg.UDPConfigMapName, api.ProtocolUDP),
PassthroughBackends: passUpstreams,
})
if err != nil {