catalog_linter: Fix missing is_fatal on yield
This commit is contained in:
parent
d26266e1f3
commit
4d3b63f2f8
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def validate_schema() -> Generator[str, None, None]:
|
||||||
|
|
||||||
def check_app(app: str, infos: Dict[str, Any]) -> Generator[Tuple[str, bool], None, None]:
|
def check_app(app: str, infos: Dict[str, Any]) -> Generator[Tuple[str, bool], None, None]:
|
||||||
if "state" not in infos:
|
if "state" not in infos:
|
||||||
yield "state is missing"
|
yield "state is missing", True
|
||||||
return
|
return
|
||||||
|
|
||||||
if infos["state"] != "working":
|
if infos["state"] != "working":
|
||||||
|
|
Loading…
Reference in a new issue