mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
feat: added metrics service v2
This commit is contained in:
@@ -205,10 +205,7 @@ func NewWorkerServiceV2() (res *WorkerServiceV2, err error) {
|
||||
}
|
||||
|
||||
// grpc client
|
||||
svc.client, err = client.NewGrpcClientV2()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
svc.client = client.GetGrpcClientV2()
|
||||
|
||||
// handler service
|
||||
svc.handlerSvc, err = handler.GetTaskHandlerServiceV2()
|
||||
|
||||
Reference in New Issue
Block a user