fix: add proxyByNode for batch jobs as part of their jobId (#17844)

This commit is contained in:
Harshavardhana
2023-08-11 13:12:35 -07:00
committed by GitHub
parent 5f56f441bf
commit b760137e1d
4 changed files with 23 additions and 9 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, ":")
if i < 0 {
return token, -1
}