Fix flags after merging
This commit is contained in:
parent
d720315ed4
commit
55277cd135
@ -18,14 +18,15 @@
|
|||||||
|
|
||||||
// Bolt server flags.
|
// Bolt server flags.
|
||||||
// NOLINTNEXTLINE (cppcoreguidelines-avoid-non-const-global-variables)
|
// NOLINTNEXTLINE (cppcoreguidelines-avoid-non-const-global-variables)
|
||||||
DEFINE_string(experimental_enabled, "",
|
DEFINE_string(
|
||||||
|
experimental_enabled, "",
|
||||||
"Experimental features to be used, comma-separated. Options [system-replication, text-search, high-availability]");
|
"Experimental features to be used, comma-separated. Options [system-replication, text-search, high-availability]");
|
||||||
using namespace std::string_view_literals;
|
using namespace std::string_view_literals;
|
||||||
|
|
||||||
namespace memgraph::flags {
|
namespace memgraph::flags {
|
||||||
|
|
||||||
auto const mapping = std::map{std::pair{"system-replication"sv, Experiments::SYSTEM_REPLICATION},
|
auto const mapping = std::map{std::pair{"system-replication"sv, Experiments::SYSTEM_REPLICATION},
|
||||||
std::pair{"text-search"sv, Experiments::TEXT_SEARCH}},
|
std::pair{"text-search"sv, Experiments::TEXT_SEARCH},
|
||||||
std::pair{"high-availability"sv, Experiments::HIGH_AVAILABILITY}};
|
std::pair{"high-availability"sv, Experiments::HIGH_AVAILABILITY}};
|
||||||
|
|
||||||
auto ExperimentsInstance() -> Experiments & {
|
auto ExperimentsInstance() -> Experiments & {
|
||||||
|
Loading…
Reference in New Issue
Block a user