fix:nacos配置修改

This commit is contained in:
devad 2023-02-16 09:51:58 +08:00 committed by zhangwei
parent c0acd0a61e
commit de8d27e8e7
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ func GetNacosConfig() Config {
configClient := GetClient()
// 获取配置
dataId := "dispatch_center_test"
group := "dispatch"
group := "DEFAULT_GROUP"
content, err := configClient.GetConfig(vo.ConfigParam{
DataId: dataId,
Group: group})
@ -89,7 +89,7 @@ func CreateKarmadaHostConfig() {
client := GetClient()
content, err := client.GetConfig(vo.ConfigParam{
DataId: "karmada-host",
Group: "dispatch",
Group: "DEFAULT_GROUP",
})
if err != nil {
log.Fatalf("获取%s配置失败: %s", "golang", err.Error())