fix consul Init
This commit is contained in:
parent
666348870e
commit
14cb71f306
|
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue