]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: abort_early should initialize formatter if needed
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 25 Sep 2012 19:04:06 +0000 (12:04 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 8 Oct 2012 18:25:00 +0000 (11:25 -0700)
commit3d1dee2b972ad5aa40e1bcd829622d24469eadd0
tree07e6ff69e409d8d2d2de3a5a20f0fc4f3fbcda61
parent511e639e91a99bf6eec21ddcc9d6d36691a1e4e0
rgw: abort_early should initialize formatter if needed

The formatter might not have been initialized, as we
abort early (e.g., when protocol handler wasn't found)
so we need to initialize it in order to dump error
status.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_common.cc
src/rgw/rgw_rest.cc