Skip to content
Snippets Groups Projects
Commit 745ab37a authored by Julien Leduc's avatar Julien Leduc Committed by Cedric CAFFY
Browse files

workaround for jq when output is not a tty as seen...

workaround for jq when output is not a tty as seen [here](https://github.com/stedolan/jq/issues/1110#issuecomment-193504718)
parent dc14abba
Branches
Tags
No related merge requests found
......@@ -39,7 +39,7 @@ getFirstVidContainingFiles() {
writeTapeSummary(){
echo "Summary of the content of the tape $1"
kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json ta ls -v $1 | jq
kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json ta ls -v $1 | jq .
}
executeRepack() {
......@@ -70,4 +70,4 @@ executeRepack() {
echo "Repack failed for tape $1"
exit 1
fi
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment