mirror of https://github.com/docker/compose.git
service hash must exlude depends_on
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
f9c7a0cc08
commit
d658fecc63
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue