diff --git a/storage/remote/storage.go b/storage/remote/storage.go index 4c136f0e59..dc01909f9e 100644 --- a/storage/remote/storage.go +++ b/storage/remote/storage.go @@ -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.