You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this should probably not happen and we should just drop the value but its not a simple fix because it was a valid parse of the JQ expression and returned a non-null string value because of the nature of it being a JQ string expression filter.
> echo '{}' | jq '"k8s:\(.metadata.name)"'
"k8s:null" <- valid non-null string value which we propagate because its valid string data
> echo '{}' | jq '.metadata.name'
null <- json null value which we detect as null
The text was updated successfully, but these errors were encountered:
rocktavious
changed the title
bugfix: erroneously including invalid aliases when the jq expression returns "null" but there is valid string data from the expression
erroneously including invalid aliases when the jq expression returns "null" but there is valid string data from the expression
Jun 3, 2021
this should probably not happen and we should just drop the value but its not a simple fix because it was a valid parse of the JQ expression and returned a non-null string value because of the nature of it being a JQ string expression filter.
The text was updated successfully, but these errors were encountered: