forked from coop-cloud/abra
fix: handle missing versions
This commit is contained in:
parent
0353427c71
commit
929ff88013
|
@ -84,6 +84,10 @@ recipes.
|
|||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
if len(versions) == 0 && !internal.Chaos {
|
||||
logrus.Fatalf("no published releases for %s in the recipe catalogue?", app.Type)
|
||||
}
|
||||
|
||||
var availableDowngrades []string
|
||||
if deployedVersion == "unknown" {
|
||||
availableDowngrades = versions
|
||||
|
|
Loading…
Reference in New Issue