From c1e58ee91fbaf318f00540e6600a61dcd6611a9b Mon Sep 17 00:00:00 2001 From: Christian Provenzano <18606244+caproven@users.noreply.github.com> Date: Wed, 11 May 2022 21:21:06 -0400 Subject: [PATCH] server: Don't register director interrupt handler --- server/proxy/httpproxy/director.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/proxy/httpproxy/director.go b/server/proxy/httpproxy/director.go index 6862e2a69..43db09a8f 100644 --- a/server/proxy/httpproxy/director.go +++ b/server/proxy/httpproxy/director.go @@ -20,7 +20,6 @@ import ( "sync" "time" - "go.etcd.io/etcd/pkg/v3/osutil" "go.uber.org/zap" ) @@ -45,7 +44,6 @@ func newDirector(lg *zap.Logger, urlsFunc GetProxyURLs, failureWait time.Duratio stopc: make(chan struct{}), donec: make(chan struct{}), } - osutil.RegisterInterruptHandler(d.stop) d.refresh() go func() { defer close(d.donec)