Commit 7bb51f1b 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 9eda07d7
......@@ -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
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment