We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c714850 commit 4d31e32Copy full SHA for 4d31e32
dbm-services/common/db-resource/internal/util/util.go
@@ -25,7 +25,7 @@ func CleanOsName(osName string) string {
25
tr := regexp.MustCompile(`(?i)^tencent`)
26
if tr.MatchString(strings.TrimSpace(osName)) {
27
r := regexp.MustCompile(`\d+(\.\d+)*`)
28
- return "tliunx-" + r.FindString(osName)
+ return "tlinux-" + r.FindString(osName)
29
}
30
wr := regexp.MustCompile(`(?i)Windows\s*Server\s*\d\d\d\d`)
31
if wr.MatchString(osName) {
0 commit comments