Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
chore: fixes typos (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
M4tteoP committed Dec 23, 2023
1 parent 5840a9b commit 2ca182c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ func Test_network(t *testing.T) {
"upstream data received",
"connection complete!",
"remote address: 127.0.0.1:",
"upsteam cluster matadata location[region]=ap-northeast-1",
"upsteam cluster matadata location[cloud_provider]=aws",
"upsteam cluster matadata location[az]=ap-northeast-1a",
"upstream cluster metadata location[region]=ap-northeast-1",
"upstream cluster metadata location[cloud_provider]=aws",
"upstream cluster metadata location[az]=ap-northeast-1a",
})
}, 10*time.Second, 100*time.Millisecond, stdErr.String())
}
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple_dispatches/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## multiple_dispatches

This example dispatches multiple http calls to remote clusters while pausing the original http response processing from the upsteam.
This example dispatches multiple http calls to remote clusters while pausing the original http response processing from the upstream.
Once the plugin recieved all the responses to all dispatched calls, it adds an http header to the original http response, and resumes it
inside the dispatched callback.

Expand Down
2 changes: 1 addition & 1 deletion examples/network/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (ctx *networkContext) OnUpstreamData(dataSize int, endOfStream bool) types.

for _, metadata := range metadataKeyValues {
key, value := metadata[0], metadata[1]
proxywasm.LogInfof("upsteam cluster matadata location[%s]=%s", string(key), string(value))
proxywasm.LogInfof("upstream cluster metadata location[%s]=%s", string(key), string(value))
}

data, err := proxywasm.GetUpstreamData(0, dataSize)
Expand Down

0 comments on commit 2ca182c

Please sign in to comment.