From fd9b299b143540eb5715fe47ef46ab0ff138542a Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Thu, 26 Feb 2026 18:05:46 +0800 Subject: [PATCH] chore: update Edition key (#11962) --- agent/utils/xpack/community.go | 2 +- core/init/viper/viper.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/utils/xpack/community.go b/agent/utils/xpack/community.go index 838759bb2..05024dd6c 100644 --- a/agent/utils/xpack/community.go +++ b/agent/utils/xpack/community.go @@ -26,7 +26,7 @@ func LoadNodeInfo(isBase bool) (model.NodeInfo, error) { var info model.NodeInfo info.BaseDir = common.LoadParams("BASE_DIR") info.Version = common.LoadParams("ORIGINAL_VERSION") - info.Edition = common.LoadParamsWithoutPanic("EDITION") + info.Edition = common.LoadParamsWithoutPanic("PANEL_EDITION") info.Scope = "master" global.IsMaster = true return info, nil diff --git a/core/init/viper/viper.go b/core/init/viper/viper.go index 6e8baaebd..390d608b8 100644 --- a/core/init/viper/viper.go +++ b/core/init/viper/viper.go @@ -47,7 +47,7 @@ func Init() { password = common.LoadParams("ORIGINAL_PASSWORD") entrance = common.LoadParams("ORIGINAL_ENTRANCE") language = common.LoadParams("LANGUAGE") - edition = common.LoadParamsWithoutPanic("EDITION") + edition = common.LoadParamsWithoutPanic("PANEL_EDITION") reader := bytes.NewReader(conf.AppYaml) if err := v.ReadConfig(reader); err != nil {