Skip to content

[BUG]: No Export Data for contrib/aws/aws-sdk-go-v2/v2/aws #3982

@stevesim101

Description

@stevesim101

Tracer Version(s)

0.70.2

Go Version(s)

go version 1.25.0 darwin/arm64

Bug Report

Mismatch between module declaration in github.com/DataDog/dd-trace-go/contrib/aws/aws-sdk-go-v2/go.mod and the actual directory structure.

go.mod
module github.com/DataDog/dd-trace-go/contrib/aws/aws-sdk-go-v2/v2

Actual Directory structure for the module's aws package:

  • dd-trace-go/contrib/aws/aws-sdk-go-v2/aws

Mismatch causes the following error with golangci-lint and the goanalysis_metalinter when running against a go project that imports the module's aws package:
WARN [runner] Can't run linter goanalysis_metalinter: inspect: failed to load package aws: could not load export data: no export data for "github.com/DataDog/dd-trace-go/contrib/aws/aws-sdk-go-v2/v2/aws"

Import statement in go project:
import "github.com/DataDog/dd-trace-go/contrib/aws/aws-sdk-go-v2/v2/aws"

Reproduction Code

No response

Error Logs

No response

Go Env Output

No response

Metadata

Metadata

Assignees

Labels

bugunintended behavior that has to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions