|
|
@@ -75,7 +75,8 @@ class DbClient(object):
|
|
|
assert __type, 'type error, Not support DB type: {}'.format(self.config.db_type)
|
|
|
self.client = getattr(__import__(__type), __type)(name=self.config.db_name,
|
|
|
host=self.config.db_host,
|
|
|
- port=self.config.db_port)
|
|
|
+ port=self.config.db_port,
|
|
|
+ password=self.config.db_password)
|
|
|
|
|
|
def get(self, key, **kwargs):
|
|
|
return self.client.get(key, **kwargs)
|