pkg/leaderelection
Knative Prow Robot a637a96a1b
[release-1.3] Take pointer to map in AsOptionalMap for consistency (#2462)
* 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>

Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-03-14 09:56:18 -07:00
..
chaosduck
config.go [release-1.3] Take pointer to map in AsOptionalMap for consistency (#2462) 2022-03-14 09:56:18 -07:00
config_test.go [release-1.3] Take pointer to map in AsOptionalMap for consistency (#2462) 2022-03-14 09:56:18 -07:00
context.go
context_test.go
doc.go