Cleanup in go vet and misspell (#996)

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2017-08-26 17:32:16 -07:00 committed by GitHub
parent 1bb836b793
commit 01f6e8cba5
3 changed files with 5 additions and 5 deletions

View file

@ -118,7 +118,7 @@ func (f *Federation) Name() string { return "federation" }
// label is always the 2nd to last once the zone is chopped of. For instance
// "nginx.mynamespace.myfederation.svc.example.com" has "myfederation" as the federation label.
// IsNameFederation returns a new qname with the federation label and the label itself or two
// emtpy strings if there wasn't a hit.
// empty strings if there wasn't a hit.
func (f *Federation) isNameFederation(name, zone string) (string, string) {
base, _ := dnsutil.TrimZone(name, zone)