mirror of https://github.com/docker/docs.git
Hotfix: check the length of entrypoint before comparing.
This commit is contained in:
parent
637eceb6a7
commit
71d2ff4946
3
utils.go
3
utils.go
|
@ -20,7 +20,8 @@ func CompareConfig(a, b *Config) bool {
|
||||||
if len(a.Cmd) != len(b.Cmd) ||
|
if len(a.Cmd) != len(b.Cmd) ||
|
||||||
len(a.Dns) != len(b.Dns) ||
|
len(a.Dns) != len(b.Dns) ||
|
||||||
len(a.Env) != len(b.Env) ||
|
len(a.Env) != len(b.Env) ||
|
||||||
len(a.PortSpecs) != len(b.PortSpecs) {
|
len(a.PortSpecs) != len(b.PortSpecs) ||
|
||||||
|
len(a.Entrypoint) != len(b.Entrypoint) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue