-
Notifications
You must be signed in to change notification settings - Fork 136
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
overlay/match
on array item incorrectly errors (and with wrong expectation)
#94
Comments
overlay/match
on array item incorrectly errors (and with wrong expectation)overlay/match
on array item incorrectly errors (and with wrong expectation)
error message is correct. default behaviour is merge, hence it's telling you that second array item doesnt have client1 key already (ie it's not annotated with missing_ok=True if that's indeed what you wanted to do). alternatively to get your expected result you should add overlay/replace to array item:
|
overlay/match
on array item incorrectly errors (and with wrong expectation)overlay/match
on array item incorrectly errors (and with wrong expectation)
@cppforlife: when
|
note the difference error messages
vs
|
some error message improvements to indicate left vs right nodes
vs
vs
|
This input:
test.yml
[1]... yields this error message ...
Instead, I expect this output:
[1] https://get-ytt.io/#gist:https://gist.github.com/jtigger/a3dbb1bb167452e288692e32127a4bf5
The text was updated successfully, but these errors were encountered: