remove use of 'v' as a variable name

This commit is contained in:
Darien Raymond committed 2016-11-27 17:01:44 +01:00
1 parent 77e1427845
commit d00f8eef56
12 files changed
+45 -45

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ func (this *DnsConfig) Build() *dns.Config {
if this.Hosts != nil {
config.Hosts = make(map[string]*v2net.IPOrDomain)
for k, v := range this.Hosts {
config.Hosts[k] = v.Build()
for domain, ip := range this.Hosts {
config.Hosts[domain] = ip.Build()
}
}