Skip to content

Commit

Permalink
Merge pull request #1421 from aboch/dl
Browse files Browse the repository at this point in the history
Fix potential deadlock in getSvcRecords()
  • Loading branch information
mrjana authored Aug 30, 2016
2 parents 55eb919 + b4bb1b6 commit 9c9a60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 9c9a60b

Please sign in to comment.