mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
fix(stagger): introduce stack version into DeploymentInfo struct (#10011)
This commit is contained in:
parent
e1a3010bc7
commit
598b8d0f28
1 changed files with 2 additions and 0 deletions
|
@ -301,6 +301,8 @@ type (
|
||||||
|
|
||||||
// StackDeploymentInfo records the information of a deployed stack
|
// StackDeploymentInfo records the information of a deployed stack
|
||||||
StackDeploymentInfo struct {
|
StackDeploymentInfo struct {
|
||||||
|
// Version is the version of the stack and also is the deployed version in edge agent
|
||||||
|
Version int `json:"Version"`
|
||||||
// FileVersion is the version of the stack file, used to detect changes
|
// FileVersion is the version of the stack file, used to detect changes
|
||||||
FileVersion int `json:"FileVersion"`
|
FileVersion int `json:"FileVersion"`
|
||||||
// ConfigHash is the commit hash of the git repository used for deploying the stack
|
// ConfigHash is the commit hash of the git repository used for deploying the stack
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue