Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 70120a6

Browse files
authored
Fix log typo in examples/http_headers (#120)
1 parent a3effdf commit 70120a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/http_headers/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (ctx *httpHeaders) OnHttpRequestHeaders(numHeaders int, endOfStream bool) t
5050
func (ctx *httpHeaders) OnHttpResponseHeaders(numHeaders int, endOfStream bool) types.Action {
5151
hs, err := proxywasm.GetHttpResponseHeaders()
5252
if err != nil {
53-
proxywasm.LogCriticalf("failed to get request headers: %v", err)
53+
proxywasm.LogCriticalf("failed to get response headers: %v", err)
5454
}
5555

5656
for _, h := range hs {

0 commit comments

Comments
 (0)