mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
update: Deprecate the usage of update=yes query param. (#2801)
Fixes #2799
This commit is contained in:
parent
740ecf530c
commit
1edd74dda2
@ -139,10 +139,10 @@ func getReleaseUpdate(updateURL string) (updateMsg updateMessage, errMsg string,
|
|||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
case "windows":
|
case "windows":
|
||||||
// For windows.
|
// For windows.
|
||||||
downloadURL = newUpdateURLPrefix + "/minio.exe?update=yes"
|
downloadURL = newUpdateURLPrefix + "/minio.exe"
|
||||||
default:
|
default:
|
||||||
// For all other operating systems.
|
// For all other operating systems.
|
||||||
downloadURL = newUpdateURLPrefix + "/minio?update=yes"
|
downloadURL = newUpdateURLPrefix + "/minio"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize update message.
|
// Initialize update message.
|
||||||
|
Loading…
Reference in New Issue
Block a user