Skip to content

Commit

Permalink
restore unused config
Browse files Browse the repository at this point in the history
  • Loading branch information
garysassano committed Dec 13, 2024
1 parent 39cad37 commit 2d7b5f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
IResource,
Resource,
ResourceAttributes,
ResourceDetectionConfig,
} from '@opentelemetry/resources';

/**
Expand All @@ -27,7 +28,7 @@ import {
* Returns an empty Resource if detection fails.
*/
export class AwsLambdaDetectorSync implements DetectorSync {
detect(): IResource {
detect(_config?: ResourceDetectionConfig): IResource {
const functionName = process.env.AWS_LAMBDA_FUNCTION_NAME;
if (!functionName) {
return Resource.empty();
Expand Down

0 comments on commit 2d7b5f1

Please sign in to comment.