Cleanup in go vet and misspell (#996)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
1bb836b793
commit
01f6e8cba5
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue