Skip to content

Commit

Permalink
Merge pull request #16940 from jcsp/wip-20955
Browse files Browse the repository at this point in the history
mgr: add missing call to pick_addresses

Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Aug 18, 2017
2 parents 021177b + 33fe08d commit 405c73e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ceph_mgr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "common/config.h"
#include "common/ceph_argparse.h"
#include "common/errno.h"
#include "common/pick_address.h"
#include "global/global_init.h"

#include "mgr/MgrStandby.h"
Expand Down Expand Up @@ -52,6 +53,8 @@ int main(int argc, const char **argv)
usage();
}

pick_addresses(g_ceph_context, CEPH_PICK_ADDRESS_PUBLIC);

global_init_daemonize(g_ceph_context);
global_init_chdir(g_ceph_context);
common_init_finish(g_ceph_context);
Expand Down

0 comments on commit 405c73e

Please sign in to comment.