mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
feat(resourcecontrol): add support for transactions EE-5431 (#8901)
This commit is contained in:
parent
706d66a76e
commit
a062a0bfbe
3 changed files with 125 additions and 5 deletions
|
@ -47,7 +47,9 @@ func (tx *StoreTx) Registry() dataservices.RegistryService {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (tx *StoreTx) ResourceControl() dataservices.ResourceControlService { return nil }
|
||||
func (tx *StoreTx) ResourceControl() dataservices.ResourceControlService {
|
||||
return tx.store.ResourceControlService.Tx(tx.tx)
|
||||
}
|
||||
|
||||
func (tx *StoreTx) Role() dataservices.RoleService {
|
||||
return tx.store.RoleService.Tx(tx.tx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue