server: Add update referral for update notification URL. (#2308)

This commit is contained in:
Harshavardhana 2016-07-27 19:59:19 -07:00 committed by GitHub
parent f0067babe0
commit ad19bf0ec1

View File

@ -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.