mirror of https://github.com/docker/compose.git
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.DependsOn = nil
|
||||
o.Profiles = nil
|
||||
|
||||
bytes, err := json.Marshal(o)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue