mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
Revert "Bypass the fanout storage merging if no remote storage is configured."
This commit is contained in:
parent
7aa2930ac5
commit
0e572686db
@ -34,10 +34,6 @@ type fanout struct {
|
||||
// NewFanout returns a new fan-out Storage, which proxies reads and writes
|
||||
// through to multiple underlying storages.
|
||||
func NewFanout(logger log.Logger, primary Storage, secondaries ...Storage) Storage {
|
||||
if len(secondaries) == 0 {
|
||||
return primary
|
||||
}
|
||||
|
||||
return &fanout{
|
||||
logger: logger,
|
||||
primary: primary,
|
||||
|
Loading…
Reference in New Issue
Block a user