diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2017-03-06 12:36:13 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2017-03-06 12:36:13 +0300 |
| commit | 9ae10c32aa6f1732969649dc23333e0e28ea62fe (patch) | |
| tree | ed72ef253309dcd3a7357351baad9c1beb747d44 | |
| parent | 94658b1d42f5ea5a02b20f223e344156ffb356f8 (diff) | |
| download | rabbitmq-server-git-9ae10c32aa6f1732969649dc23333e0e28ea62fe.tar.gz | |
Correct supported versions we report
Previous revision produced 4 digit version numbers
which we don't normally use.
| -rw-r--r-- | src/rabbit_plugins.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_plugins.erl b/src/rabbit_plugins.erl index 3a822c3381..5165602dd9 100644 --- a/src/rabbit_plugins.erl +++ b/src/rabbit_plugins.erl @@ -298,7 +298,7 @@ format_required_versions(Versions) -> lists:map(fun(V) -> case re:run(V, "^[0-9]*\.[0-9]*\.", [{capture, all, list}]) of {match, [Sub]} -> - lists:flatten(io_lib:format("~s.0-~s.x", [V, Sub])); + lists:flatten(io_lib:format("~s-~sx", [V, Sub])); _ -> V end |
