]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: fix erasure_code_dir definition
authorJohn Spray <john.spray@redhat.com>
Thu, 20 Jul 2017 15:54:33 +0000 (11:54 -0400)
committerJohn Spray <john.spray@redhat.com>
Fri, 21 Jul 2017 10:27:30 +0000 (06:27 -0400)
This was missing its `safe` flag, causing some attempts
to set it during testing to fail.

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

index aff5608732ecb4b506c8787e5197852e24ac61ac..0b9905df6e149e4d0ad384e844ba81a80e005e05 100644 (file)
@@ -279,7 +279,8 @@ const std::vector<Option> ceph_options = {
   Option("erasure_code_dir", Option::TYPE_STR, Option::LEVEL_ADVANCED)
   .set_default(CEPH_PKGLIBDIR"/erasure-code")
   .set_description("directory where erasure-code plugins can be found")
-  .add_service("mon osd"),
+  .add_service("mon osd")
+  .set_safe(),
 
   // logging
   Option("log_file", Option::TYPE_STR, Option::LEVEL_BASIC)