forked from toolshed/abra
WIP: add first run at app rollback command
See coop-cloud/organising#146.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user