Fix bug in checks for keys in middlebox tests
This commit is contained in:
parent
8fb5e397d7
commit
f343a2a1bd
|
@ -102,7 +102,7 @@ var NettestGroups = map[string]NettestGroup{
|
||||||
middlebox.HTTPHeaderFieldManipulation{},
|
middlebox.HTTPHeaderFieldManipulation{},
|
||||||
},
|
},
|
||||||
Summary: func(m summary.SummaryMap) (string, error) {
|
Summary: func(m summary.SummaryMap) (string, error) {
|
||||||
if err := summary.CheckRequiredKeys([]string{"WebConnectivity"}, m); err != nil {
|
if err := summary.CheckRequiredKeys([]string{"HttpInvalidRequestLine", "HttpHeaderFieldManipulation"}, m); err != nil {
|
||||||
log.WithError(err).Error("missing keys")
|
log.WithError(err).Error("missing keys")
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user