commit | c7e9706e0f3faff16a63c2fd9e6f7b0ef9914262 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 03 15:42:07 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 06 18:13:35 2022 +0200 |
tree | 98ec856094274f0e56824b2f54032943cdf56ad4 | |
parent | a0d6280af4e04a8607980b3fafcccd8f10bbb5c8 [diff] |
CLEANUP: map/cli: always detach the backref from the list after "show map" There's no point checking the state before deciding to detach the backref on "show map", it should always be done if the list is not empty. Note that being empty guarantees that it's not linked into the list, and conversely not being empty guarantees that it's in the list, hence the test doesn't need to be performed under the lock.