Skip to content

Commit

Permalink
chore: Update Apache2PostRequestHandler and Apache2PreRequestHandler …
Browse files Browse the repository at this point in the history
…to use Apache2::Const

The code changes import the `Apache2::Const` module in the `ProductOpener::Apache2PostRequestHandler` and `ProductOpener::Apache2PreRequestHandler` files. This change is made to use the constants provided by the `Apache2::Const` module in the code.
  • Loading branch information
hangy committed Aug 30, 2024
1 parent f0f8e17 commit 01d8f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/ProductOpener/Apache2PostRequestHandler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ package ProductOpener::Apache2PostRequestHandler;
use ProductOpener::PerlStandards;

use Log::Any '$log', default_adapter => 'Stderr';
use Apache2::Const qw(:common);
use OpenTelemetry::Trace::Span;

sub handler {
Expand Down
1 change: 1 addition & 0 deletions lib/ProductOpener/Apache2PreRequestHandler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ package ProductOpener::Apache2PreRequestHandler;
use ProductOpener::PerlStandards;

use Log::Any '$log', default_adapter => 'Stderr';
use Apache2::Const qw(:common);
use OpenTelemetry;
use OpenTelemetry::Context;
use OpenTelemetry::Propagator::TraceContext;
Expand Down

0 comments on commit 01d8f95

Please sign in to comment.