grafana-iam: Use the K8sStorage interface (#114799)

This commit is contained in:
Gabriel MABILLE
2025-12-03 21:41:05 +00:00
committed by GitHub
parent f7d9d22963
commit e3afb0daf9
+1 -1
View File
@@ -405,7 +405,7 @@ func (b *IdentityAccessManagementAPIBuilder) UpdateResourcePermissionsAPIGroup(
}
// Not ideal, the alternative is to wrap both stores that dualwrite uses
regStoreDW, ok := dw.(*registry.Store)
regStoreDW, ok := dw.(storewrapper.K8sStorage)
if !ok {
return fmt.Errorf("expected RegistryStoreDualWrite, got %T", dw)
}