fix: better warning if flying < 3.8 compose spec
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Closes coop-cloud/organising#350
This commit is contained in:
parent
b089109c94
commit
b4cce7dcf4
|
@ -35,7 +35,10 @@ func ValidateRecipe(c *cli.Context, ensureLatest bool) recipe.Recipe {
|
|||
}
|
||||
logrus.Warn(err)
|
||||
} else {
|
||||
logrus.Fatal(err)
|
||||
if strings.Contains(err.Error(), "template_driver is not allowed") {
|
||||
logrus.Warnf("ensure %s recipe compose.* files include \"version: '3.8'\"", recipeName)
|
||||
}
|
||||
logrus.Fatalf("unable to validate recipe: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue