mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #2299 from olljanat/ip-to-hostname-fix
Do not add IP to name records for aliases
This commit is contained in:
commit
2dc04ddf4f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ func (c *controller) addContainerNameResolution(nID, eID, containerName string,
|
|||
|
||||
// Add resolution for taskaliases
|
||||
for _, alias := range taskAliases {
|
||||
n.(*network).addSvcRecords(eID, alias, eID, ip, nil, true, method)
|
||||
n.(*network).addSvcRecords(eID, alias, eID, ip, nil, false, method)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue