Skip to content

Commit

Permalink
MINOR: add reload in gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmatmati authored and oktalz committed Jan 24, 2024
1 parent cc6be55 commit 9f9191e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/gateways/gateways.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,7 @@ func (gm GatewayManagerImpl) manageTCPRoutes() {
gm.backends[tcpRouteBackendName] = struct{}{}
// Adds the servers to the backends
reloadServers, errServers := gm.addServersToRoute(*tcproute)
if reloadServers {
logger.Debugf("modification in servers of backend '%s' from tcproute '%s/%s'", tcpRouteBackendName, tcproute.Namespace, tcproute.Name)
}
instance.ReloadIf(reloadServers, "modification in servers of backend '%s' from tcproute '%s/%s'", tcpRouteBackendName, tcproute.Namespace, tcproute.Name)
logger.Error(errServers)
}
}
Expand Down

0 comments on commit 9f9191e

Please sign in to comment.