fix codeql issue
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
0e97049e1d
commit
ad58ab6943
@ -53,7 +53,7 @@ func (d *dns) Lookup(opts ...QueryOption) ([]Route, error) {
|
|||||||
for i, ip := range ips {
|
for i, ip := range ips {
|
||||||
result[i] = Route{
|
result[i] = Route{
|
||||||
Service: options.Service,
|
Service: options.Service,
|
||||||
Address: fmt.Sprintf("%s:%d", ip, uint16(p)),
|
Address: fmt.Sprintf("%s:%d", ip, p),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result, nil
|
return result, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user