fix(proxy): typo in example

This commit is contained in:
James Yang 2024-09-02 17:11:22 +08:00 committed by GitHub
parent acffb8aaf2
commit 9b1d7c544d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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");