fix bug for router

pull/232/head
peng.xu 2019-10-26 14:14:27 +08:00
parent 4c774a77f5
commit 83818546db
3 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@ logger = logging.getLogger(__name__)
here = os.path.abspath(os.path.dirname(__file__))
get_path = partial(os.path.join, here)
PLUGIN_PACKAGE_NAME = 'router.plugins'
PLUGIN_PACKAGE_NAME = 'mishards.router.plugins'
plugin_base = PluginBase(package=PLUGIN_PACKAGE_NAME,
searchpath=[get_path('./plugins')])

View File

@ -13,7 +13,7 @@ from mishards import db, create_app, settings
from mishards.service_handler import ServiceHandler
from mishards.grpc_utils.grpc_args_parser import GrpcArgsParser as Parser
from mishards.factories import TableFilesFactory, TablesFactory, TableFiles, Tables
from mishards.routings import RouterMixin
from mishards.router import RouterMixin
logger = logging.getLogger(__name__)

View File

@ -2,7 +2,6 @@ import os
import logging
from functools import partial
from utils.pluginextension import MiPluginBase as PluginBase
# from pluginbase import PluginBase
from tracer import Tracer