fix
Some checks are pending
Auth & User Management Service CI / build-services (app/auth_service/Dockerfile, auth_service, auth_service) (push) Waiting to run
Auth & User Management Service CI / build-services (app/douyin_ecpm_calculation_service/Dockerfile, douyin_ecpm_calculation_service, douyin_ecpm_calculation_service) (push) Waiting to run
Auth & User Management Service CI / build-services (app/ranking_management/Dockerfile, ranking_management, ranking_management) (push) Waiting to run
Auth & User Management Service CI / build-services (app/user_management/Dockerfile, user_manager, user_management) (push) Waiting to run
Auth & User Management Service CI / start-services (push) Blocked by required conditions
Some checks are pending
Auth & User Management Service CI / build-services (app/auth_service/Dockerfile, auth_service, auth_service) (push) Waiting to run
Auth & User Management Service CI / build-services (app/douyin_ecpm_calculation_service/Dockerfile, douyin_ecpm_calculation_service, douyin_ecpm_calculation_service) (push) Waiting to run
Auth & User Management Service CI / build-services (app/ranking_management/Dockerfile, ranking_management, ranking_management) (push) Waiting to run
Auth & User Management Service CI / build-services (app/user_management/Dockerfile, user_manager, user_management) (push) Waiting to run
Auth & User Management Service CI / start-services (push) Blocked by required conditions
This commit is contained in:
parent
5490a76650
commit
7e3620c2ce
@ -36,6 +36,8 @@ const EcpmConfigWatchKey = "ecpm_config"
|
|||||||
|
|
||||||
func (svc *ServiceContext) initEtcd() {
|
func (svc *ServiceContext) initEtcd() {
|
||||||
|
|
||||||
|
svc.EcpmConfig = NewEcpmConfig()
|
||||||
|
|
||||||
//初始化etcd客户端
|
//初始化etcd客户端
|
||||||
cli, err := clientv3.NewFromURL(viper.GetString(config.EtcdAddrKey))
|
cli, err := clientv3.NewFromURL(viper.GetString(config.EtcdAddrKey))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -65,7 +67,6 @@ func (svc *ServiceContext) initEtcd() {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
svc.etcdCli = cli
|
svc.etcdCli = cli
|
||||||
svc.EcpmConfig = NewEcpmConfig()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// initAuthServiceClient inits the AuthServiceClient.
|
// initAuthServiceClient inits the AuthServiceClient.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user