mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
do not download binary before verifying the version (#20523)
fixes https://github.com/minio/mc/issues/4980
This commit is contained in:
@@ -636,7 +636,7 @@ func (s *peerRESTServer) VerifyBinaryHandler(w http.ResponseWriter, r *http.Requ
|
||||
}
|
||||
|
||||
if lrTime.Sub(currentReleaseTime) <= 0 {
|
||||
s.writeErrorResponse(w, fmt.Errorf("server is already running the latest version: %s", Version))
|
||||
s.writeErrorResponse(w, fmt.Errorf("server is running the latest version: %s", Version))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user