Aliaksandr Valialkin
|
8be5ebe809
|
lib/promauth: properly parse string contents for ca, cert and key fields at tls_config
Previously yaml parser wasn't accepting string values for these fields,
because it was mistakenly expecting a list of uint8 values instead.
|
2023-10-27 14:22:55 +02:00 |
|
Aliaksandr Valialkin
|
a5814fe16a
|
lib/promscrape/discovery/kubernetes: use unsupportedFieldError() function instead of errContext string
This improves code readability and maintainability a bit, since the format string
is passed as string literal into fmt.Errorf.
|
2022-06-07 01:22:07 +03:00 |
|
Aliaksandr Valialkin
|
6f0a0e3072
|
lib/promscrape/discovery/kubernetes: follow-up after 006b8c7534
- make more clear error logs
- simplify testing for newKubeConfig by passing only the path to kube_config file instead of SDConfig struct
|
2022-06-06 14:40:52 +03:00 |
|
Nikolay
|
a18914abee
|
lib/promscrape/discovery/kubernetes: follow-up after 0b5c874911 (#2672)
|
2022-06-01 20:44:45 +02:00 |
|