mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Remove condition on where we return from unified storage in mode2 (#92593)
This commit is contained in:
parent
01b9ad3789
commit
09f102b72e
@ -181,11 +181,7 @@ func (d *DualWriterMode2) List(ctx context.Context, options *metainternalversion
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// if the number of items in the legacy list and the storage list are the same, we can return the storage list
|
||||
if len(storageList) == len(legacyList) {
|
||||
return sl, nil
|
||||
}
|
||||
log.Info("lists from legacy and storage are not the same size")
|
||||
// always return the list from legacy storage
|
||||
return ll, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user