diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2020-04-15 19:31:45 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2020-04-15 19:31:45 +0300 |
commit | 2083e18840a385cb9063b5139c1a1555cdc995c0 (patch) | |
tree | b87776177c54a522ad533a6a4a04d79b4aa4eccc | |
parent | 3bc638cb3a46b42e9f0b60eed5284dced0e3725a (diff) |
Distinguish TLS connections in connectioncounter
-rw-r--r-- | internal/bootstrap/starter/starter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/bootstrap/starter/starter.go b/internal/bootstrap/starter/starter.go index 48d00f095..ac98ba5e1 100644 --- a/internal/bootstrap/starter/starter.go +++ b/internal/bootstrap/starter/starter.go @@ -41,7 +41,7 @@ func New(cfg Config, servers bootstrap.GracefulStoppableServer) bootstrap.Starte } logrus.WithField("address", cfg.Addr).Infof("listening at %s address", cfg.Name) - l = connectioncounter.New(cfg.family(), l) + l = connectioncounter.New(cfg.Name, l) go func() { errCh <- servers.Serve(l, cfg.isSecure()) |