commit | 4053b03caa02b21ceff0b764461693aa13ec6d57 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 29 16:55:17 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Apr 30 15:36:31 2021 +0200 |
tree | 3ddbbfcca4d449263af43f4835d042b0bb4387f1 | |
parent | f7dd0e8796a2a1ca5f5adfe7c7552163717213a1 [diff] |
MINOR: map: get rid of map_add_key_value() This function was only used once in cli_parse_add_map(), and half of the work it used to do was already known from the caller or testable outside of the lock. Given that we'll need to modify it soon to pass a generation number, let's remerge it in the caller instead, using pat_ref_load() which is the one we'll need.