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

master
Harshavardhana 8 years ago committed by GitHub
parent f0067babe0
commit ad19bf0ec1
  1. 4
      update-main.go

@ -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…
Cancel
Save