Skip to content

Commit ea19fb8

Browse files
committed
fix mistake
1 parent f4cfe9e commit ea19fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/service/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func (s *ServerService) GetXrayVersions() ([]string, error) {
285285
continue
286286
}
287287

288-
if (major >= 25 && minor >= 2 && patch >= 18) || (major >= 26) {
288+
if major > 25 || (major == 25 && minor > 2) || (major == 25 && minor == 2 && patch >= 18) {
289289
versions = append(versions, release.TagName)
290290
}
291291
}

0 commit comments

Comments
 (0)