Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
taikulawo committed Jul 10, 2024
1 parent 07a4916 commit a17a5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pingora-proxy/examples/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}

Expand Down

0 comments on commit a17a5c2

Please sign in to comment.