Fix -no-upgrade
This commit is contained in:
parent
8e5c692244
commit
e6d5372029
|
@ -18,6 +18,6 @@ func upgradeToURL(binary, url string) error {
|
|||
return ErrUpgradeUnsupported
|
||||
}
|
||||
|
||||
func LatestRelease(version string) (Release, error) {
|
||||
func LatestRelease(releasesURL, version string) (Release, error) {
|
||||
return Release{}, ErrUpgradeUnsupported
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue