mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03: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