service hash must exlude depends_on

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2024-08-21 15:23:21 +02:00 committed by Joana H
parent f9c7a0cc08
commit d658fecc63
1 changed files with 1 additions and 0 deletions

View File

@ -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 {