Vet/race fixes (#4421)
This addresses all found vet/race fixes in community edition. --------- Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
This commit is contained in:
1 parent
4535af25aa
commit
014a5a7aae
46 files changed
+411
-176
No files matched your search
@@ -17,7 +17,7 @@ var (
|
||||
TcpHandlerName = "tcp"
|
||||
|
||||
// handlers is the map of registered handlers
|
||||
handlers sync.Map
|
||||
handlers *sync.Map = new(sync.Map)
|
||||
|
||||
// ErrUnknownProtocol specifies the provided protocol has no registered handler
|
||||
ErrUnknownProtocol = errors.New("proxy: handler not found for protocol")
|
||||
|
||||
Reference in new issue
Block a user