Skip to content

Commit

Permalink
Check if 'webui' is abset when Ingress is enabled (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jan 24, 2021
1 parent b21f7f4 commit 4caea2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ def is_default(validator, properties, instance, schema):
print(f"::error file={config}::{error.message}")
exit_code = 1

if configuration.get("ingress", False) and configuration.get("webui"):
print(f"::error file={config}::'webui' should be removed, Ingress is enabled.")
exit_code = 1

build = path / "build.json"
if build.exists():
with open(build) as fp:
Expand Down

0 comments on commit 4caea2d

Please sign in to comment.