pkg/leaderelection
Pierangelo Di Pilato 3c4dec9b9f
Take pointer to map in AsOptionalMap for consistency (#2460)
* Take pointer to map in AsOptionalMap for consistency

- Other `As*` functions take pointers.
- It avoids having to initialize the map passed to the function

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

* Remove double pointer

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

* AsOptionalMap -> CollectMapEntriesWithPrefix

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-03-14 09:45:18 -07:00
..
chaosduck Replace golint with revive (#2126) 2021-05-18 06:10:15 -07:00
config.go Take pointer to map in AsOptionalMap for consistency (#2460) 2022-03-14 09:45:18 -07:00
config_test.go Take pointer to map in AsOptionalMap for consistency (#2460) 2022-03-14 09:45:18 -07:00
context.go Allow overriding lease name for a reconciler (#2435) 2022-02-28 11:55:09 -08:00
context_test.go Use t.Setenv instead of os.Setenv in tests (#2454) 2022-03-10 10:00:48 -08:00
doc.go Adjust leaderelection defaults, add documentation. (#2391) 2022-01-12 20:43:12 -08:00