mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-14 19:20:01 -04:00
Save updated project after deleting target
This commit is contained in:
parent
aec4d13e21
commit
b365827f73
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ func (s *State) targetDelete(
|
|||
|
||||
pp := serverptypes.Project{Project: p}
|
||||
if pp.DeleteTargetRef(ref) {
|
||||
if err = s.projectPut(dbTxn, memTxn, p); err != nil {
|
||||
if err = s.projectPut(dbTxn, memTxn, pp.Project); err != nil {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue