Fixed tag removal snapshot
This commit is contained in:
parent
d313890d8a
commit
ad9d0e57ad
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class TagSnapshotProvider
|
||||||
public function getTagDeleteSnapshot(Tag $tag)
|
public function getTagDeleteSnapshot(Tag $tag)
|
||||||
{
|
{
|
||||||
$snapshot = $this->getTagSnapshot($tag);
|
$snapshot = $this->getTagSnapshot($tag);
|
||||||
$snapshot->setData([]);
|
$snapshot->setData(['name' => $tag->getName()]);
|
||||||
$snapshot->setOperation(Snapshot::OPERATION_DELETE);
|
$snapshot->setOperation(Snapshot::OPERATION_DELETE);
|
||||||
return $snapshot;
|
return $snapshot;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue