This commit is contained in:
joy.zhou
2019-07-15 12:11:38 +08:00
parent 333819b2f2
commit 1ea2dcab88
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ type Config struct {
//Init init kafak client
func Init() {
content, err := ioutil.ReadFile("/plugins/authhttp/http.json")
content, err := ioutil.ReadFile("./plugins/authhttp/http.json")
if err != nil {
log.Fatal("Read config file error: ", zap.Error(err))
}

View File

@@ -37,7 +37,7 @@ type Config struct {
//Init init kafak client
func Init() {
log.Info("start connect kafka....")
content, err := ioutil.ReadFile("/plugins/kafka/kafka.json")
content, err := ioutil.ReadFile("./plugins/kafka/kafka.json")
if err != nil {
log.Fatal("Read config file error: ", zap.Error(err))
}