fix consul Init

This commit is contained in:
suguo.yao 2021-09-16 10:43:31 +08:00
parent 666348870e
commit 14cb71f306
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ type Config struct {
//Init 初始化consul连接
func Init(config *Config) error {
if config == nil {
conf = &Config{
config = &Config{
Address: "127.0.0.1:8500",
}
}