1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-01 20:05:23 +02:00

fix(teams): fix data-race in teamCreate() BE-11210 (#12196)

This commit is contained in:
andres-portainer 2024-09-05 21:36:26 -03:00 committed by GitHub
parent 753150e03c
commit 280ca22aeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 162 additions and 20 deletions

View file

@ -80,7 +80,10 @@ func (tx *StoreTx) TeamMembership() dataservices.TeamMembershipService {
return tx.store.TeamMembershipService.Tx(tx.tx)
}
func (tx *StoreTx) Team() dataservices.TeamService { return nil }
func (tx *StoreTx) Team() dataservices.TeamService {
return tx.store.TeamService.Tx(tx.tx)
}
func (tx *StoreTx) TunnelServer() dataservices.TunnelServerService { return nil }
func (tx *StoreTx) User() dataservices.UserService {