Skip to content

Commit

Permalink
fix: validate needs collections in vars edit
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulFarault committed Nov 2, 2023
1 parent 73ea4fe commit 2d069ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdp/cli/commands/vars/edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def edit(

# Check schema
try:
service_variables.validate()
service_variables.validate(collections)
except InvalidSchema:
click.echo(f"Variables does not match '{service_name}' schema")
continue
Expand Down

0 comments on commit 2d069ea

Please sign in to comment.