summaryrefslogtreecommitdiff
path: root/http/data.go
diff options
context:
space:
mode:
Diffstat (limited to 'http/data.go')
-rw-r--r--http/data.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/data.go b/http/data.go
index 865e4760..b84150ee 100644
--- a/http/data.go
+++ b/http/data.go
@@ -42,7 +42,7 @@ func (d dataTree) push(k string, v []string) {
// mount mounts data tree recursively.
func (d dataTree) mount(i []string, v []string) {
- if len(v) == 0 || v[0] == "" {
+ if len(v) == 0 {
return
}