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
@@ -9,10 +9,10 @@ import (
|
||||
)
|
||||
|
||||
// ProxyState contains the current state of proxies in this process.
|
||||
var ProxyState proxyState
|
||||
var ProxyState proxyState = proxyState{proxyCount: new(atomic.Int64)}
|
||||
|
||||
type proxyState struct {
|
||||
proxyCount atomic.Int64
|
||||
proxyCount *atomic.Int64
|
||||
}
|
||||
|
||||
// CurrentProxiedConnections returns the current number of ongoing proxied
|
||||
|
||||
Reference in new issue
Block a user