0
0
forked from toolshed/abra

WIP: add first run at app rollback command

See coop-cloud/organising#146.
This commit is contained in:
2021-09-08 12:55:33 +02:00
parent 855e9ea26d
commit 3c3d8dc0e7
8 changed files with 132 additions and 44 deletions

View File

@ -2,7 +2,6 @@ package internal
import (
"errors"
"os"
"coopcloud.tech/abra/pkg/app"
"coopcloud.tech/abra/pkg/config"
@ -22,7 +21,6 @@ func ValidateRecipe(c *cli.Context) recipe.Recipe {
recipe, err := recipe.Get(recipeName)
if err != nil {
logrus.Fatal(err)
os.Exit(1)
}
return recipe
@ -39,7 +37,6 @@ func ValidateApp(c *cli.Context) config.App {
app, err := app.Get(appName)
if err != nil {
logrus.Fatal(err)
os.Exit(1)
}
return app