]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: fix thread naming
authorJohn Spray <john.spray@redhat.com>
Thu, 12 Oct 2017 17:14:02 +0000 (13:14 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 12:20:22 +0000 (08:20 -0400)
commitbb4e71ed2ebdee1ac5e4b3eee390060e19fea0d8
treea454e9acbfa80891c23b608e3baf739819a5d3de
parentdf8797320bed7ad9f121477e35d7e3862efd89bd
mgr: fix thread naming

Was passing a reference to a local stringstream into
Thread::create, not realising that it was taking a char*
reference instead of a copy.  Result was garbage (or usually,
all threads having the name of the last one created)

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/ActivePyModules.cc
src/mgr/StandbyPyModules.cc