mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix potential deadlock in getSvcRecords()
Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
parent
622ea9d39a
commit
92e20b70e6
1 changed files with 1 additions and 1 deletions
|
@ -1125,7 +1125,7 @@ func (n *network) getSvcRecords(ep *endpoint) []etchosts.Record {
|
|||
continue
|
||||
}
|
||||
if len(ip) == 0 {
|
||||
log.Warnf("Found empty list of IP addresses for service %s on network %s (%s)", h, n.Name(), n.ID())
|
||||
log.Warnf("Found empty list of IP addresses for service %s on network %s (%s)", h, n.name, n.id)
|
||||
continue
|
||||
}
|
||||
recs = append(recs, etchosts.Record{
|
||||
|
|
Loading…
Add table
Reference in a new issue