Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve error message if filter expression in foreach cannot be resolved #6694

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

stefreak
Copy link
Member

@stefreak stefreak commented Dec 6, 2024

Old error due to bug:

$filter clause in $forEach loop must resolve to a boolean value (got object)

New error:

Invalid template string (${var.volume-mount-set == item.key}) at path MY_VOLUMES.$concat.$filter: Could not find key volume-mount-set under var. Available keys: $merge, MY_VOLUMES and volumes.

10ko
10ko previously approved these changes Dec 6, 2024
@10ko 10ko enabled auto-merge December 6, 2024 15:18
@10ko 10ko added this pull request to the merge queue Dec 6, 2024
Merged via the queue into main with commit 3ff5ee0 Dec 6, 2024
40 checks passed
@10ko 10ko deleted the fix-filter-foreach branch December 6, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants