mirror of
https://github.com/minio/minio.git
synced 2025-04-21 19:14:39 -04:00
server: Add update referral for update notification URL. (#2308)
This commit is contained in:
parent
f0067babe0
commit
ad19bf0ec1
@ -143,10 +143,10 @@ func getReleaseUpdate(updateURL string, noError bool) updateMessage {
|
|||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
case "windows":
|
case "windows":
|
||||||
// For windows.
|
// For windows.
|
||||||
downloadURL = newUpdateURLPrefix + "/minio.exe"
|
downloadURL = newUpdateURLPrefix + "/minio.exe?update=yes"
|
||||||
default:
|
default:
|
||||||
// For all other operating systems.
|
// For all other operating systems.
|
||||||
downloadURL = newUpdateURLPrefix + "/minio"
|
downloadURL = newUpdateURLPrefix + "/minio?update=yes"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize update message.
|
// Initialize update message.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user