1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(api/edgestack): update deployments count when env relations are updated (#8433)

This commit is contained in:
LP B 2023-02-02 16:04:58 +01:00 committed by GitHub
parent 402a62a5e2
commit 9b53960906
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 72 additions and 3 deletions

View file

@ -104,6 +104,7 @@ func (store *Store) initServices() error {
return err
}
store.EdgeStackService = edgeStackService
endpointRelationService.RegisterUpdateStackFunction(edgeStackService.UpdateEdgeStackFunc)
edgeGroupService, err := edgegroup.NewService(store.connection)
if err != nil {