]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: revert public_addr setting to a string
authorJohn Spray <john.spray@redhat.com>
Thu, 13 Jul 2017 12:24:31 +0000 (08:24 -0400)
committerJohn Spray <john.spray@redhat.com>
Fri, 21 Jul 2017 10:27:28 +0000 (06:27 -0400)
This was a string in the old schema, and tests
depended on that -- if we want to change its type
let's do that separately to the infrastructure changes.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/options.cc

index e5540b6717a391ec59c5bcc29bbaaef310bc8359..4ee2ff2d0228d9f43b1dc07d3c13d8395d175a2e 100644 (file)
@@ -105,14 +105,12 @@ const std::vector<Option> ceph_options = {
   .add_service("osd")
   .add_tag("network"),
 
-  Option("public_network", Option::TYPE_ADDR, Option::LEVEL_ADVANCED)
-  .set_default("")
+  Option("public_network", Option::TYPE_STR, Option::LEVEL_ADVANCED)
   .add_service("mon mds osd mgr")
   .add_tag("network")
   .set_description(""),
 
   Option("cluster_network", Option::TYPE_STR, Option::LEVEL_ADVANCED)
-  .set_default("")
   .add_service("osd")
   .add_tag("network")
   .set_description(""),