migrate to net/http, update go mod
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 31s
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 31s
This commit is contained in:
1 parent
b9538a6337
commit
590486f153
4 files changed
+68
-69
No files matched your search
@@ -27,7 +27,6 @@ func GetCluster(callback *Callback, cluster *Cluster) (*Cluster, error) {
|
||||
|
||||
for _, node := range cluster.Nodes {
|
||||
node.lock.RLock()
|
||||
defer node.lock.RUnlock()
|
||||
callback.Add(node.lock.RUnlock)
|
||||
for _, instance := range node.Instances {
|
||||
instance.lock.RLock()
|
||||
|
||||
Reference in new issue
Block a user