]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: PGMap dump shouldn't use strings containing '+' as tags
authorDan Mick <dan.mick@inktank.com>
Tue, 23 Jul 2013 07:04:02 +0000 (00:04 -0700)
committerDan Mick <dan.mick@inktank.com>
Tue, 23 Jul 2013 21:04:15 +0000 (14:04 -0700)
commit2c87d9fc2cc3aaa7b722ca8b0a2759cc000a972d
treee8968cf08ce89a43b47362777919a263295e3683
parent96551f97d8d37222293dbe23e1e2c4cddb7544f2
mon: PGMap dump shouldn't use strings containing '+' as tags

XML has a problem with tags containing +, like the PG state names.
Use an enclosing array, and name the state and count items explicitly.

Fixes: #5721
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/mon/PGMap.cc