From 3e82a0a2593c336b5fe2ceaf88668cc2fa182958 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 31 Jul 2014 17:11:53 +0200 Subject: [PATCH] Again, the poor unsupporteds --- upgrade/upgrade_unsupp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upgrade/upgrade_unsupp.go b/upgrade/upgrade_unsupp.go index 86494311a..787adb078 100644 --- a/upgrade/upgrade_unsupp.go +++ b/upgrade/upgrade_unsupp.go @@ -6,8 +6,8 @@ package upgrade -func Upgrade(current string) (Release, error) { - return Release{}, ErrUpgradeUnsupported +func UpgradeTo(rel Release) error { + return ErrUpgradeUnsupported } func LatestRelease(prerelease bool) (Release, error) {