mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
feat: update binary once and push it to other servers (#15407)
This commit is contained in:
committed by
GitHub
parent
916f274c83
commit
8ec888d13d
@@ -770,7 +770,7 @@ func (s *peerRESTServer) DownloadBinaryHandler(w http.ResponseWriter, r *http.Re
|
||||
return
|
||||
}
|
||||
|
||||
if err = downloadBinary(info.URL, info.Sha256Sum, info.ReleaseInfo, getMinioMode()); err != nil {
|
||||
if err = verifyBinary(info.URL, info.Sha256Sum, info.ReleaseInfo, getMinioMode(), info.BinaryFile); err != nil {
|
||||
s.writeErrorResponse(w, err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user