diff options
author | James Yang <[email protected]> | 2024-09-02 09:11:22 +0000 |
---|---|---|
committer | Gustav Davidsson <[email protected]> | 2024-09-13 14:11:24 -0700 |
commit | 2a4e152e8077a6316382c4a9d9d54d40925ab4e8 (patch) | |
tree | 6723b51474ccdedebe60abc60459f2bdebfc7662 | |
parent | 96e561a9996bf0ff0e069652af67fe6a58706757 (diff) | |
download | pingora-2a4e152e8077a6316382c4a9d9d54d40925ab4e8.tar.gz pingora-2a4e152e8077a6316382c4a9d9d54d40925ab4e8.zip |
fix(proxy): typo in example
Includes-commit: 9b1d7c544d45f88db55cc9ac118a8f60e8ef84b9
Replicated-from: https://github.com/cloudflare/pingora/pull/371
-rw-r--r-- | .bleep | 2 | ||||
-rw-r--r-- | pingora-proxy/examples/gateway.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1 +1 @@ -b5675546711d1fc8bc1a0aa28e4586e46d560024
\ No newline at end of file +265d5245705c6f762c7dd37536f9d1c61d2d8af9
\ No newline at end of file diff --git a/pingora-proxy/examples/gateway.rs b/pingora-proxy/examples/gateway.rs index 0bd5330..78f4aae 100644 --- a/pingora-proxy/examples/gateway.rs +++ b/pingora-proxy/examples/gateway.rs @@ -121,7 +121,7 @@ fn main() { let mut my_proxy = pingora_proxy::http_proxy_service( &my_server.configuration, MyGateway { - req_metric: register_int_counter!("reg_counter", "Number of requests").unwrap(), + req_metric: register_int_counter!("req_counter", "Number of requests").unwrap(), }, ); my_proxy.add_tcp("0.0.0.0:6191"); |