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

refactor(edgestack): rename version to fileVersion (#9157)

This commit is contained in:
Oscar Zhou 2023-07-07 15:48:45 +12:00 committed by GitHub
parent 14d84c8025
commit 801b7d43ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,7 +301,9 @@ type (
// StackDeploymentInfo records the information of a deployed stack
StackDeploymentInfo struct {
Version int `json:"Version"`
// FileVersion is the version of the stack file, used to detect changes
FileVersion int `json:"FileVersion"`
// ConfigHash is the commit hash of the git repository used for deploying the stack
ConfigHash string `json:"ConfigHash"`
}