diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2020-06-01 22:08:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 22:08:17 +0300 |
| commit | 9083a01b59195bf1202b74f504b5ae47ba110a6a (patch) | |
| tree | 70a7a2fda435b0e366103413af51024cfce0f227 /priv | |
| parent | a53ec39f0eb64e4c99c68067f733b160b2cf8f8f (diff) | |
| parent | d367bf88e3177371f76fc2ddf51c6d8ee7d8f787 (diff) | |
| download | rabbitmq-server-git-9083a01b59195bf1202b74f504b5ae47ba110a6a.tar.gz | |
Merge pull request #2355 from rabbitmq/rabbitmq-server-2354
Introduce raft.data_dir to new style configuration schema
Diffstat (limited to 'priv')
| -rw-r--r-- | priv/schema/rabbit.schema | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema index 7fed1372cf..9552fb0cf3 100644 --- a/priv/schema/rabbit.schema +++ b/priv/schema/rabbit.schema @@ -1666,6 +1666,18 @@ end}. end }. +{mapping, "raft.data_dir", "ra.data_dir", [ + {datatype, string} +]}. + +{translation, "ra.data_dir", + fun(Conf) -> + case cuttlefish:conf_get("raft.data_dir", Conf, undefined) of + undefined -> cuttlefish:unset(); + Val -> Val + end + end +}. % =============================== % Validators |
