Clone entity memdb (#28593)

This commit is contained in:
Bianca Moreira
2024-10-04 17:00:54 +02:00
committed by GitHub
parent 6ad78c4102
commit c7b029eb01

View File

@@ -330,7 +330,7 @@ func (i *IdentityStore) handleEntityUpdateCommon() framework.OperationFunc {
// Get the name
entityName := d.Get("name").(string)
if entityName != "" {
entityByName, err := i.MemDBEntityByName(ctx, entityName, false)
entityByName, err := i.MemDBEntityByName(ctx, entityName, true)
if err != nil {
return nil, err
}