Service being declared in a profile must not trigger re-creation

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2024-11-05 07:37:14 +01:00 committed by Nicolas De loof
parent eececb9add
commit 513b6128c2
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ func ServiceHash(o types.ServiceConfig) (string, error) {
o.Deploy.Replicas = nil
}
o.DependsOn = nil
o.Profiles = nil
bytes, err := json.Marshal(o)
if err != nil {