refactor sd

This commit is contained in:
peng.xu 2019-09-21 11:00:35 +08:00
parent 33fe3b1bde
commit 1e2cc2eb66
3 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ db.init_db(uri=settings.SQLALCHEMY_DATABASE_URI, echo=settings.SQL_ECHO)
from mishards.connections import ConnectionMgr
connect_mgr = ConnectionMgr()
from mishards.service_founder import ServiceFounder
from sd.service_founder import ServiceFounder
discover = ServiceFounder(namespace=settings.SD_NAMESPACE,
conn_mgr=connect_mgr,
pod_patt=settings.SD_ROSERVER_POD_PATT,

0
sd/__init__.py Normal file
View File