Replies: 1 comment 2 replies
-
>yq e '.apple' -e examples/data1.yaml ; echo "got: $?"
null
Error: no matches found
got: 1 In the bash script, are you setting any bash flags (e.g. set -e) ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to modify volumeTemplate storage value
The code above could match the storage that deleted a particular list, but I want to return an error if the match fails.
In the official documentation, the -e flag seems to work, but when I use it, $?
Has been 0, and did not achieve the expected match failure return
I really appreciate any help with this.
Beta Was this translation helpful? Give feedback.
All reactions