mirror of https://github.com/portainer/portainer
fix(edge-update): set edge stack status to EdgeStackStatusError to avoid redeployment of portainer-updater [BE-11855] (#714)
parent
799325d9f8
commit
1bc91d0c7c
|
@ -270,8 +270,9 @@ func (c *ComposeDeployer) GetExistingEdgeStacks(ctx context.Context) ([]libstack
|
|||
}
|
||||
|
||||
m[id] = libstack.EdgeStack{
|
||||
ID: id,
|
||||
Name: cs.Labels[api.ProjectLabel],
|
||||
ID: id,
|
||||
Name: cs.Labels[api.ProjectLabel],
|
||||
ExitCode: cs.ExitCode,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,6 +88,7 @@ type RemoveOptions struct {
|
|||
}
|
||||
|
||||
type EdgeStack struct {
|
||||
ID int
|
||||
Name string
|
||||
ID int
|
||||
Name string
|
||||
ExitCode int
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue