mirror of
https://github.com/docker/compose.git
synced 2025-07-26 23:24:05 +02:00
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:
parent
eececb9add
commit
513b6128c2
@ -33,6 +33,7 @@ func ServiceHash(o types.ServiceConfig) (string, error) {
|
|||||||
o.Deploy.Replicas = nil
|
o.Deploy.Replicas = nil
|
||||||
}
|
}
|
||||||
o.DependsOn = nil
|
o.DependsOn = nil
|
||||||
|
o.Profiles = nil
|
||||||
|
|
||||||
bytes, err := json.Marshal(o)
|
bytes, err := json.Marshal(o)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user