diff options
Diffstat (limited to 'src/rabbit_binding.erl')
-rw-r--r-- | src/rabbit_binding.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_binding.erl b/src/rabbit_binding.erl index d887f26a..12082af8 100644 --- a/src/rabbit_binding.erl +++ b/src/rabbit_binding.erl @@ -363,7 +363,7 @@ not_found_or_absent_errs(Names) -> absent_errs_only(Names) -> Errs = [E || Name <- Names, - {absent, _Q} = E <- [not_found_or_absent(Name)]], + {absent, _Q, _Reason} = E <- [not_found_or_absent(Name)]], rabbit_misc:const(case Errs of [] -> ok; _ -> {error, {resources_missing, Errs}} @@ -376,8 +376,8 @@ not_found_or_absent(#resource{kind = exchange} = Name) -> {not_found, Name}; not_found_or_absent(#resource{kind = queue} = Name) -> case rabbit_amqqueue:not_found_or_absent(Name) of - not_found -> {not_found, Name}; - {absent, _Q} = R -> R + not_found -> {not_found, Name}; + {absent, _Q, _Reason} = R -> R end. contains(Table, MatchHead) -> |