Storage: Enable mode 2 dual writing for playlists (#87245)

Enable mode 2 dual writing for playlists
This commit is contained in:
Arati R
2024-05-02 16:52:29 +02:00
committed by GitHub
parent 0dffdc1756
commit 4db5ec28a1
+1 -1
View File
@@ -118,7 +118,7 @@ func (b *PlaylistAPIBuilder) GetAPIGroupInfo(
if err != nil {
return nil, err
}
storage[resource.StoragePath()] = grafanarest.NewDualWriter(legacyStore, store)
storage[resource.StoragePath()] = grafanarest.NewDualWriterMode2(legacyStore, store)
}
apiGroupInfo.VersionedResourcesStorageMap[playlist.VERSION] = storage