ConnectionPool middleware: fix a crash due to unimplemented behaviour
authorrinpatch <rinpatch@sdf.org>
Sat, 5 Sep 2020 18:17:03 +0000 (21:17 +0300)
committerrinpatch <rinpatch@sdf.org>
Sat, 5 Sep 2020 18:17:03 +0000 (21:17 +0300)
commit5298de3be6683022fa53cc011dd567e8b2a706b9
treebbe1f4ee77a4f6dbdfb540f02f814867e57b73a1
parent8c8fb84a38de31e7ef95661ea162bf2aded8967b
ConnectionPool middleware: fix a crash due to unimplemented behaviour

Structs don't implement Access behaviour, so this crashed. Tests didn't
catch it and I didn't test that part of the codepath. Very sorry
lib/pleroma/tesla/middleware/connection_pool.ex