diff options
Diffstat (limited to 'plugin/etcd/msg/path.go')
-rw-r--r-- | plugin/etcd/msg/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/etcd/msg/path.go b/plugin/etcd/msg/path.go index 2abdec0fe..dc7494782 100644 --- a/plugin/etcd/msg/path.go +++ b/plugin/etcd/msg/path.go @@ -26,7 +26,7 @@ func Domain(s string) string { for i, j := 1, len(l)-1; i < j; i, j = i+1, j-1 { l[i], l[j] = l[j], l[i] } - return dnsutil.Join(l[1 : len(l)-1]) + return dnsutil.Join(l[1 : len(l)-1]...) } // PathWithWildcard ascts as Path, but if a name contains wildcards (* or any), the name will be |