mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Remote storage: propagate json marshal errors (#6622)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
0cff72d756
commit
aad8f89ecb
|
@ -84,7 +84,7 @@ func (s *Storage) ApplyConfig(conf *config.Config) error {
|
|||
for _, rrConf := range conf.RemoteReadConfigs {
|
||||
hash, err := toHash(rrConf)
|
||||
if err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
// Don't allow duplicate remote read configs.
|
||||
|
|
Loading…
Reference in a new issue