diff --git a/pingora-proxy/examples/ctx.rs b/pingora-proxy/examples/ctx.rs index 05e2bf4e8..46628b23f 100644 --- a/pingora-proxy/examples/ctx.rs +++ b/pingora-proxy/examples/ctx.rs @@ -43,7 +43,7 @@ fn check_beta_user(req: &pingora_http::RequestHeader) -> bool { #[async_trait] impl ProxyHttp for MyProxy { type CTX = MyCtx; - fn new_ctx(&self, session: &Session) -> Self::CTX { + fn new_ctx(&self, _session: &Session) -> Self::CTX { MyCtx { beta_user: false } }