fix error in example code (#546)

fix error in example code
This commit is contained in:
haifeiWu 2022-12-10 21:34:28 +08:00 committed by GitHub
parent 10614a56d6
commit c4a995cccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -103,13 +103,13 @@ serverConfigs := []constant.ServerConfig{
"console1.nacos.io", "console1.nacos.io",
80, 80,
constant.WithScheme("http"), constant.WithScheme("http"),
constant.WithContextPath("/nacos") constant.WithContextPath("/nacos"),
), ),
*constant.NewServerConfig( *constant.NewServerConfig(
"console2.nacos.io", "console2.nacos.io",
80, 80,
constant.WithScheme("http"), constant.WithScheme("http"),
constant.WithContextPath("/nacos") constant.WithContextPath("/nacos"),
), ),
} }