fix:nacos配置修改
This commit is contained in:
parent
c0acd0a61e
commit
de8d27e8e7
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue