mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 10:58:25 +00:00
Remove rebuilding grpc server.
This commit is contained in:
parent
80d31458e5
commit
bfe7c5e8af
@ -3970,9 +3970,6 @@ func (a *Agent) reloadConfigInternal(newCfg *config.RuntimeConfig) error {
|
|||||||
return fmt.Errorf("Failed reloading tls configuration: %s", err)
|
return fmt.Errorf("Failed reloading tls configuration: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the external GRPC server.
|
|
||||||
a.externalGRPCServer = external.NewServer(a.logger.Named("grpc.external"))
|
|
||||||
|
|
||||||
// Reload service/check definitions and metadata.
|
// Reload service/check definitions and metadata.
|
||||||
if err := a.loadServices(newCfg, snap); err != nil {
|
if err := a.loadServices(newCfg, snap); err != nil {
|
||||||
return fmt.Errorf("Failed reloading services: %s", err)
|
return fmt.Errorf("Failed reloading services: %s", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user