Skip to content

Commit

Permalink
Merge pull request ceph#20782 from sebastian-philipp/dashboard_v2_fix…
Browse files Browse the repository at this point in the history
…_config_options_endpoint

mgr/dashboard_v2: Fix test_cluster_configuration test

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 0f93d68)
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
  • Loading branch information
tchaikov authored and epuertat committed Jul 26, 2018
1 parent 5d28566 commit 74d5288
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/common/config.cc
Expand Up @@ -396,8 +396,7 @@ void md_config_t::config_options(Formatter *f)
Mutex::Locker l(lock);
f->open_array_section("options");
for (const auto& i: schema) {
const Option &opt = i.second;
opt.dump(f);
f->dump_object("option", i.second);
}
f->close_section();
}
Expand Down

0 comments on commit 74d5288

Please sign in to comment.