Fix compilation of -noupgrade builds

This commit is contained in:
Lode Hoste
2015-04-09 22:44:36 +02:00
parent 75fb14acaf
commit 75348c0158
5 changed files with 28 additions and 14 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ func upgradeToURL(binary, url string) error {
return ErrUpgradeUnsupported
}
func LatestRelease(prerelease bool) (Release, error) {
func LatestRelease(version string) (Release, error) {
return Release{}, ErrUpgradeUnsupported
}