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
By default shells don't stop on pipe errors (e.g. if the tedge http get command fails), so jq will always control the overall exit code as it is the last process in the pipe.
Using pipefail will ensure that the Execute Command will be retried if the http get command fails for some transient reason (e.g. service is restarting, or the network infrastructure has sporadic issues).
Signed-off-by: reubenmiller <reuben.d.miller@gmail.com>
0 commit comments