mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Fixing tests
This commit is contained in:
@@ -150,9 +150,7 @@ func (r *Route) Update(new *Route) {
|
||||
if len(v) == 0 {
|
||||
r.Headers.Del(k)
|
||||
} else {
|
||||
for _, val := range v {
|
||||
r.Headers.Set(k, val)
|
||||
}
|
||||
r.Headers[k] = v
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user