Oleg Zaytsev 0a43e788af
Allow VectorSelector.String() without matchers (#9282)
* Allow VectorSelector.String() without matchers

Previously this method was panicking because it was trying to allocate a
slice with capacity -1. There's nothing saying that VectorSelector
should have matchers, and it's actually prepared to have zero matcher
strings, so it's worth checking instead of panicking.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2021-09-01 09:48:18 +02:00
..
2021-07-29 12:38:11 +02:00
2021-07-29 12:38:11 +02:00
2021-07-29 12:38:11 +02:00
2021-08-27 10:24:14 +02:00
2021-06-11 12:28:36 -04:00
2021-07-29 12:38:11 +02:00
2021-07-29 12:38:11 +02:00