feat: support batchJob for windows (#19877)

This commit is contained in:
jiuker
2024-06-05 23:44:53 +08:00
committed by GitHub
parent 91e1487de4
commit d326ba52e9
4 changed files with 13 additions and 3 deletions

View File

@@ -231,7 +231,7 @@ func parseRequestToken(token string) (subToken string, nodeIndex int) {
if token == "" {
return token, -1
}
i := strings.Index(token, ":")
i := strings.Index(token, getBatchJobIDSeparator())
if i < 0 {
return token, -1
}