Browse Source

service hash must exlude depends_on

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 1 year ago
parent
commit
d658fecc63
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pkg/compose/hash.go

+ 1 - 0
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 {