mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(edgegroups): avoid a last-write-wins situation when updating edge groups concurrently EE-3732 (#8101)
This commit is contained in:
parent
6dc1841c14
commit
e26a607d28
8 changed files with 266 additions and 65 deletions
|
@ -69,6 +69,7 @@ type (
|
|||
EdgeGroup(ID portainer.EdgeGroupID) (*portainer.EdgeGroup, error)
|
||||
Create(group *portainer.EdgeGroup) error
|
||||
UpdateEdgeGroup(ID portainer.EdgeGroupID, group *portainer.EdgeGroup) error
|
||||
UpdateEdgeGroupFunc(ID portainer.EdgeGroupID, updateFunc func(group *portainer.EdgeGroup)) error
|
||||
DeleteEdgeGroup(ID portainer.EdgeGroupID) error
|
||||
BucketName() string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue