|
@@ -38,7 +38,7 @@ import (
|
|
)
|
|
)
|
|
|
|
|
|
var (
|
|
var (
|
|
- activationLock chan struct{}
|
|
|
|
|
|
+ activationLock chan struct{} = make(chan struct{})
|
|
)
|
|
)
|
|
|
|
|
|
type HttpServer struct {
|
|
type HttpServer struct {
|
|
@@ -1578,7 +1578,6 @@ func ServeApi(job *engine.Job) engine.Status {
|
|
protoAddrs = job.Args
|
|
protoAddrs = job.Args
|
|
chErrors = make(chan error, len(protoAddrs))
|
|
chErrors = make(chan error, len(protoAddrs))
|
|
)
|
|
)
|
|
- activationLock = make(chan struct{})
|
|
|
|
|
|
|
|
for _, protoAddr := range protoAddrs {
|
|
for _, protoAddr := range protoAddrs {
|
|
protoAddrParts := strings.SplitN(protoAddr, "://", 2)
|
|
protoAddrParts := strings.SplitN(protoAddr, "://", 2)
|