fix: check published version properly

Resulted in a refactor to a new lint package.
This commit is contained in:
2021-12-26 00:00:19 +01:00
parent ba8138079f
commit 9a1cf258a5
5 changed files with 36 additions and 30 deletions

View File

@ -8,6 +8,7 @@ import (
"coopcloud.tech/abra/pkg/catalogue"
"coopcloud.tech/abra/pkg/client"
"coopcloud.tech/abra/pkg/config"
"coopcloud.tech/abra/pkg/lint"
"coopcloud.tech/abra/pkg/recipe"
stack "coopcloud.tech/abra/pkg/upstream/stack"
"coopcloud.tech/tagcmp"
@ -54,7 +55,7 @@ recipes.
logrus.Fatal(err)
}
if err := recipe.LintForErrors(r); err != nil {
if err := lint.LintForErrors(r); err != nil {
logrus.Fatal(err)
}