mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Hotfix: check the length of entrypoint before comparing.
This commit is contained in:
parent
637eceb6a7
commit
71d2ff4946
1 changed files with 2 additions and 1 deletions
3
utils.go
3
utils.go
|
@ -20,7 +20,8 @@ func CompareConfig(a, b *Config) bool {
|
|||
if len(a.Cmd) != len(b.Cmd) ||
|
||||
len(a.Dns) != len(b.Dns) ||
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue