Fix go vet issues
This commit is contained in:
parent
caaa30c747
commit
cd6a63fc57
6 changed files with 15 additions and 15 deletions
|
|
@ -29,7 +29,7 @@ func init() {
|
|||
}
|
||||
func check_GLUE_respond(student *adlin.Student, domain string, ip string) (err error) {
|
||||
if !strings.HasPrefix(ip, adlin.StudentIP(student.Id).String()) {
|
||||
return fmt.Errorf("%q is not your IP range")
|
||||
return fmt.Errorf("%q is not your IP range", ip)
|
||||
}
|
||||
|
||||
client := dns.Client{Net: "tcp", Timeout: time.Second * 5}
|
||||
|
|
|
|||
Reference in a new issue