cleanup: go vet and golint run (#736)
* cleanup: go vet and golint run Various cleanups trickered by go vet and golint. * Fix tests and lowercase all errors Lowercase all errors, some tests in kubernetes use errors from kubernetes which do start with a capital letter.
This commit is contained in:
parent
5c10eba31c
commit
e49ca86ce4
21 changed files with 64 additions and 62 deletions
|
@ -60,7 +60,7 @@ func (z *Zone) Reload() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// SOASerialIfDefind returns the SOA's serial if the zone has a SOA record in the Apex, or
|
||||
// SOASerialIfDefined returns the SOA's serial if the zone has a SOA record in the Apex, or
|
||||
// -1 otherwise.
|
||||
func (z *Zone) SOASerialIfDefined() int64 {
|
||||
z.reloadMu.Lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue