fix: on windows avoid ':' as part of the object name (#19907)

fixes #18865
avoid-colon
This commit is contained in:
Harshavardhana
2024-06-10 20:13:30 -07:00
committed by GitHub
parent 614981e566
commit 55aa431578
5 changed files with 16 additions and 14 deletions

View File

@@ -1633,7 +1633,7 @@ func (a adminAPIHandlers) StartBatchJob(w http.ResponseWriter, r *http.Request)
return
}
job.ID = fmt.Sprintf("%s%s%d", shortuuid.New(), getBatchJobIDSeparator(), GetProxyEndpointLocalIndex(globalProxyEndpoints))
job.ID = fmt.Sprintf("%s%s%d", shortuuid.New(), getKeySeparator(), GetProxyEndpointLocalIndex(globalProxyEndpoints))
job.User = user
job.Started = time.Now()