diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-03-08 14:19:40 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-03-08 14:19:40 +0000 |
| commit | d8bf0d012bc95b185e2cf06d3cbb816a519aad19 (patch) | |
| tree | 45a9e884969e03aef7a7e8df50fab4cd84ee87fd /src | |
| parent | fcbaaf7f646c1f3278cd351bf8f477342715c8e8 (diff) | |
| download | rabbitmq-server-git-d8bf0d012bc95b185e2cf06d3cbb816a519aad19.tar.gz | |
Use lists:append/1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_upgrade.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_upgrade.erl b/src/rabbit_upgrade.erl index 8113bad8ba..1284d229f8 100644 --- a/src/rabbit_upgrade.erl +++ b/src/rabbit_upgrade.erl @@ -270,7 +270,7 @@ desired_version(Scope) -> with_upgrade_graph(fun (G) -> heads(G) end, Scope). flatten(LoL) -> - lists:sort(lists:flatten(LoL)). + lists:sort(lists:append(LoL)). filter_by_scope(Scope, Versions) -> with_upgrade_graph( |
