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

feat(edgestack): improve the structure to make JSON operations faster BE-11668 (#475)

This commit is contained in:
andres-portainer 2025-03-15 10:10:17 -03:00 committed by GitHub
parent 2c05496962
commit e1f9b69cd5
3 changed files with 18 additions and 10 deletions

View file

@ -94,6 +94,10 @@ func (m *Migrator) updateEdgeStackStatusForDB100() error {
continue
}
if environmentStatus.Details == nil {
continue
}
statusArray := []portainer.EdgeStackDeploymentStatus{}
if environmentStatus.Details.Pending {
statusArray = append(statusArray, portainer.EdgeStackDeploymentStatus{