diff --git a/pkg/registry/apis/iam/register.go b/pkg/registry/apis/iam/register.go index d88d3b29912..786635fa19a 100644 --- a/pkg/registry/apis/iam/register.go +++ b/pkg/registry/apis/iam/register.go @@ -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) }