mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #238 from WeiZhang555/clean
cleanup: remove unused variable
This commit is contained in:
commit
944a1cd026
1 changed files with 0 additions and 5 deletions
|
@ -451,11 +451,6 @@ func (ep *endpoint) buildHostsFiles() error {
|
|||
}
|
||||
}
|
||||
|
||||
name := container.config.hostName
|
||||
if container.config.domainName != "" {
|
||||
name = name + "." + container.config.domainName
|
||||
}
|
||||
|
||||
for _, extraHost := range container.config.extraHosts {
|
||||
extraContent = append(extraContent,
|
||||
etchosts.Record{Hosts: extraHost.name, IP: extraHost.IP})
|
||||
|
|
Loading…
Add table
Reference in a new issue