Skip to content

Commit

Permalink
Merge branch 'master' into mysql_comments
Browse files Browse the repository at this point in the history
  • Loading branch information
breezewish authored Dec 19, 2023
2 parents b76fc18 + ced2d6d commit 3dc6fe2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/cluster/operation/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,13 @@ func checkOSInfo(opt *CheckOptions, osInfo *sysinfo.OS) *CheckResult {
osInfo.Name, osInfo.Release)
return result
}
case "rocky":
// Rocky Linux
if ver, _ := strconv.ParseFloat(osInfo.Version, 64); ver < 9.1 {
result.Err = fmt.Errorf("%s %s not supported, use version 9.1 or later please",
osInfo.Name, osInfo.Release)
return result
}
case "debian":
// debian support is not fully tested, but we suppose it should work
msg := "debian support is not fully tested, be careful"
Expand Down

0 comments on commit 3dc6fe2

Please sign in to comment.