Skip to content

Commit

Permalink
Delete commit
Browse files Browse the repository at this point in the history
  • Loading branch information
josep-tecnativa committed May 7, 2024
1 parent 834acf0 commit dd7e109
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _traefik3_labels.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{%- if path_prefixes or paths -%}
&& (
{%- if path_prefixes -%}
{{ path_prefix_rule(path_prefixes) }}
{{ path_prefix_rule(path_prefixes) -}}
{%- if paths %} || {% endif %}
{%- endif %}
{%- if paths -%}
Expand Down
6 changes: 6 additions & 0 deletions tests/test_nitpicking.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ def test_cidr_whitelist_rules(
pre_commit("run", "-a", retcode=None)
dc_prod = DockerClient(compose_files=["prod.yaml"])
dc_test = DockerClient(compose_files=["test.yaml"])
# Abre y lee el contenido de prod.yaml
with open("prod.yaml") as file:
content = file.read()

# Imprime el contenido leído
print(content)
prod_config = dc_prod.compose.config()
test_config = dc_test.compose.config()
# Assert prod.yaml
Expand Down

0 comments on commit dd7e109

Please sign in to comment.