From d658fecc637c735b5e79f5977a53d0bd10e7396c Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Wed, 21 Aug 2024 15:23:21 +0200 Subject: [PATCH] service hash must exlude depends_on Signed-off-by: Nicolas De Loof --- pkg/compose/hash.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/compose/hash.go b/pkg/compose/hash.go index 284ccaa76..e6a189bd8 100644 --- a/pkg/compose/hash.go +++ b/pkg/compose/hash.go @@ -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 {