Fix config loading panics on nil pointer slice elements (#4942)

Fixes https://github.com/prometheus/prometheus/issues/4902
Fixes https://github.com/prometheus/prometheus/issues/4889

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2018-12-03 18:09:02 +08:00 committed by GitHub
parent 8b91d39c43
commit d28246e337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 189 additions and 5 deletions