diff --git a/controller/setting_controller.go b/controller/setting_controller.go index a51a3a61b4..625550843e 100644 --- a/controller/setting_controller.go +++ b/controller/setting_controller.go @@ -1400,8 +1400,13 @@ func (sc *SettingController) CheckLatestAndStableLonghornVersions() (string, str if err != nil { return "", "", errors.Wrap(err, "failed to get extra info for upgrade checker") } + + version := sc.version + if strings.Contains(version, "dev") { + version = "dev" + } req := &CheckUpgradeRequest{ - AppVersion: sc.version, + AppVersion: version, ExtraTagInfo: extraTagInfo, ExtraFieldInfo: extraFieldInfo, }