This commit is contained in:
Christian Groschupp 2023-08-10 17:37:46 +02:00
parent e82f1cf309
commit 42dd6b643b

View file

@ -345,7 +345,11 @@ func TestCustomResponseHeaders(t *testing.T) {
for _, foo := range fooAnns {
ing.SetAnnotations(foo.annotations)
r := ec.Extract(ing).CustomHeaders.Headers
rann, err := ec.Extract(ing)
if err != nil {
t.Errorf("error should be null: %v", err)
}
r := rann.CustomHeaders.Headers
// Check that expected headers were created
for i := range foo.headers {