mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
chore(edgegroups): rename decoratedEdgeGroup property EE-5501 (#9212)
This commit is contained in:
parent
88da28694c
commit
b5c5df798a
2 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ import (
|
|||
type decoratedEdgeGroup struct {
|
||||
portainer.EdgeGroup
|
||||
HasEdgeStack bool `json:"HasEdgeStack"`
|
||||
HasEdgeGroup bool `json:"HasEdgeGroup"`
|
||||
HasEdgeJob bool `json:"HasEdgeJob"`
|
||||
EndpointTypes []portainer.EndpointType
|
||||
}
|
||||
|
||||
|
@ -99,7 +99,7 @@ func getEdgeGroupList(tx dataservices.DataStoreTx) ([]decoratedEdgeGroup, error)
|
|||
|
||||
edgeGroup.EndpointTypes = endpointTypes
|
||||
edgeGroup.HasEdgeStack = usedEdgeGroups[edgeGroup.ID]
|
||||
edgeGroup.HasEdgeGroup = usedByEdgeJob
|
||||
edgeGroup.HasEdgeJob = usedByEdgeJob
|
||||
|
||||
decoratedEdgeGroups = append(decoratedEdgeGroups, edgeGroup)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue