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

@@ -1025,7 +1025,7 @@ func (a adminAPIHandlers) HealHandler(w http.ResponseWriter, r *http.Request) {
if exists && !nh.hasEnded() && len(nh.currentStatus.Items) > 0 {
clientToken := nh.clientToken
if globalIsDistErasure {
clientToken = fmt.Sprintf("%s@%d", nh.clientToken, GetProxyEndpointLocalIndex(globalProxyEndpoints))
clientToken = fmt.Sprintf("%s:%d", nh.clientToken, GetProxyEndpointLocalIndex(globalProxyEndpoints))
}
b, err := json.Marshal(madmin.HealStartSuccess{
ClientToken: clientToken,