1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

fix(edgestacks): check the version of the edge stack before updating the status BE-11488 (#287)

This commit is contained in:
andres-portainer 2025-01-07 17:31:57 -03:00 committed by GitHub
parent d72b3a9ba2
commit e2b812a611
3 changed files with 17 additions and 2 deletions

View file

@ -9,7 +9,6 @@ func NewStatus(oldStatus map[portainer.EndpointID]portainer.EdgeStackStatus, rel
status := map[portainer.EndpointID]portainer.EdgeStackStatus{}
for _, environmentID := range relatedEnvironmentIDs {
newEnvStatus := portainer.EdgeStackStatus{
Status: []portainer.EdgeStackDeploymentStatus{},
EndpointID: environmentID,