Fix bug in checks for keys in middlebox tests

This commit is contained in:
Arturo Filastò 2018-07-18 18:42:54 +02:00
parent 8fb5e397d7
commit f343a2a1bd

View File

@ -102,7 +102,7 @@ var NettestGroups = map[string]NettestGroup{
middlebox.HTTPHeaderFieldManipulation{},
},
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")
return "", err
}