]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/MgrPyModule::handle_command: order stringstreams to match intent
authorDan Mick <dan.mick@redhat.com>
Wed, 12 Apr 2017 02:13:29 +0000 (19:13 -0700)
committerKefu Chai <kchai@redhat.com>
Fri, 21 Apr 2017 06:17:09 +0000 (14:17 +0800)
commit8c249e4b2b2228a1d24638199a9380acaac77de1
tree7a2c8e1142f29ec9e19e8281f0cb30f75e891c82
parent6fc3a46295c8b5330e3611deb5edf97135e3dd24
mgr/MgrPyModule::handle_command: order stringstreams to match intent

ds is intended for command output (like stdout), to be shown/saved
when there's no error returned; ss is for error status (like stderr)
to further explain the error.  mgr Python tracebacks should go to
the latter.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/mgr/MgrPyModule.cc
src/mgr/MgrPyModule.h