mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05: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 {
|
||||
case "windows":
|
||||
// For windows.
|
||||
downloadURL = newUpdateURLPrefix + "/minio.exe"
|
||||
downloadURL = newUpdateURLPrefix + "/minio.exe?update=yes"
|
||||
default:
|
||||
// For all other operating systems.
|
||||
downloadURL = newUpdateURLPrefix + "/minio"
|
||||
downloadURL = newUpdateURLPrefix + "/minio?update=yes"
|
||||
}
|
||||
|
||||
// Initialize update message.
|
||||
|
Loading…
Reference in New Issue
Block a user