mirror of https://github.com/milvus-io/milvus.git
fix bug for router
parent
4c774a77f5
commit
83818546db
|
@ -8,7 +8,7 @@ logger = logging.getLogger(__name__)
|
||||||
here = os.path.abspath(os.path.dirname(__file__))
|
here = os.path.abspath(os.path.dirname(__file__))
|
||||||
get_path = partial(os.path.join, here)
|
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,
|
plugin_base = PluginBase(package=PLUGIN_PACKAGE_NAME,
|
||||||
searchpath=[get_path('./plugins')])
|
searchpath=[get_path('./plugins')])
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ from mishards import db, create_app, settings
|
||||||
from mishards.service_handler import ServiceHandler
|
from mishards.service_handler import ServiceHandler
|
||||||
from mishards.grpc_utils.grpc_args_parser import GrpcArgsParser as Parser
|
from mishards.grpc_utils.grpc_args_parser import GrpcArgsParser as Parser
|
||||||
from mishards.factories import TableFilesFactory, TablesFactory, TableFiles, Tables
|
from mishards.factories import TableFilesFactory, TablesFactory, TableFiles, Tables
|
||||||
from mishards.routings import RouterMixin
|
from mishards.router import RouterMixin
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ import os
|
||||||
import logging
|
import logging
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from utils.pluginextension import MiPluginBase as PluginBase
|
from utils.pluginextension import MiPluginBase as PluginBase
|
||||||
# from pluginbase import PluginBase
|
|
||||||
from tracer import Tracer
|
from tracer import Tracer
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue