fix: drop version checking while churning

This commit is contained in:
decentral1se 2021-09-22 08:47:49 +02:00
parent 1392afc015
commit 9783563fa6
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -8,7 +8,6 @@ import (
"coopcloud.tech/abra/cli/internal"
"coopcloud.tech/abra/pkg/catalogue"
"coopcloud.tech/abra/pkg/config"
recipePkg "coopcloud.tech/abra/pkg/recipe"
"coopcloud.tech/abra/pkg/secret"
"github.com/AlecAivazis/survey/v2"
"github.com/sirupsen/logrus"
@ -172,16 +171,6 @@ func action(c *cli.Context) error {
logrus.Fatal(err)
}
recipeMeta, err := catalogue.GetRecipeMeta(recipe.Name)
if err != nil {
logrus.Fatal(err)
}
latestVersion := recipeMeta.LatestVersion()
if err := recipePkg.EnsureVersion(recipe.Name, latestVersion); err != nil {
logrus.Fatal(err)
}
if err := ensureServerFlag(); err != nil {
logrus.Fatal(err)
}