aboutsummaryrefslogtreecommitdiff
path: root/middleware/federation/federation.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/federation/federation.go')
-rw-r--r--middleware/federation/federation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/federation/federation.go b/middleware/federation/federation.go
index 724dcb656..700b74685 100644
--- a/middleware/federation/federation.go
+++ b/middleware/federation/federation.go
@@ -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)