Skip to content

Commit

Permalink
qa/standalone/scrub/osd-scrub-snaps.sh: fix Python print syntax
Browse files Browse the repository at this point in the history
Fixes: https://tracker.ceph.com/issues/48690
Signed-off-by: Ronen Friedman <[email protected]>
  • Loading branch information
ronen-fr committed Dec 21, 2020
1 parent b885dfe commit dff7faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/standalone/scrub/osd-scrub-snaps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source $CEPH_ROOT/qa/standalone/ceph-helpers.sh
getjson="no"

jqfilter='.inconsistents'
sortkeys='import json; import sys ; JSON=sys.stdin.read() ; ud = json.loads(JSON) ; print json.dumps(ud, sort_keys=True, indent=2)'
sortkeys='import json; import sys ; JSON=sys.stdin.read() ; ud = json.loads(JSON) ; print ( json.dumps(ud, sort_keys=True, indent=2) )'

function run() {
local dir=$1
Expand Down

0 comments on commit dff7faa

Please sign in to comment.