Skip to content

Commit

Permalink
service hash must exlude depends_on
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof authored and jhrotko committed Aug 26, 2024
1 parent f9c7a0c commit d658fec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/compose/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func ServiceHash(o types.ServiceConfig) (string, error) {
if o.Deploy != nil {
o.Deploy.Replicas = nil
}
o.DependsOn = nil

bytes, err := json.Marshal(o)
if err != nil {
Expand Down

0 comments on commit d658fec

Please sign in to comment.