ceph/ceph — pull request #95 by concubidated (2013-03-08 21:29:32+00:00)
Title: Fix output of command 'ceph osd tree --format=json'

Two values which were suppose to be part of the osd array were being printed after the osd section was closed which resulted in output like this,

{ "id": 19,
"name": "osd.19",
"exists": 1,
"type": "osd",
"type_id": 0,
"status": "up",
"reweight": "1.000000"},
"1.000000",
3,

New output now looks like this,

{ "id": 19,
"name": "osd.19",
"exists": 1,
"type": "osd",
"type_id": 0,
"status": "up",
"reweight": "1.000000",
"crush_weight": "1.000000",
"depth": 3},