Skip to content

Commit a92ff20

Browse files
committed
Update extractVersion comment for standardized DOCKER_IMAGE format
1 parent c51cdff commit a92ff20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test-runner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@ func printSummary(results []testResult) {
666666
}
667667

668668
func extractVersion(image string) string {
669-
// For TiDB, the image is already just the version number
670-
// For MySQL/Percona/MariaDB, extract version from image string (e.g., "mysql:8.0" -> "8.0")
669+
// Extract version from image string
670+
// Examples: "mysql:8.0" -> "8.0", "tidb:6.1.7" -> "6.1.7", "percona:5.7" -> "5.7"
671671
parts := strings.Split(image, ":")
672672
if len(parts) > 1 {
673673
return parts[1]

0 commit comments

Comments
 (0)