mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Clone entity memdb (#28593)
This commit is contained in:
@@ -330,7 +330,7 @@ func (i *IdentityStore) handleEntityUpdateCommon() framework.OperationFunc {
|
|||||||
// Get the name
|
// Get the name
|
||||||
entityName := d.Get("name").(string)
|
entityName := d.Get("name").(string)
|
||||||
if entityName != "" {
|
if entityName != "" {
|
||||||
entityByName, err := i.MemDBEntityByName(ctx, entityName, false)
|
entityByName, err := i.MemDBEntityByName(ctx, entityName, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user