Skip to content

Breaking change in 0.48.0 #577

Closed
Closed
@nicolaasuni-vonage

Description

@nicolaasuni-vonage

The latest version 0.48.0 breaks an existing workflow.
#576

After upgrading to github.com/prometheus/common v0.48.0 and running golangci-lint on the source code I get the following error:

[...]/gosrvlib/target/binutil/golangci-lint run --exclude-use-default=false --max-issues-per-linter 0 --max-same-issues 0 ./pkg/...
WARN [runner] Can't run linter goanalysis_metalinter: buildssa: failed to load package testutil: could not load export data: no export data for "github.com/prometheus/client_golang/prometheus/testutil" 
ERRO Running error: can't run linter goanalysis_metalinter
buildssa: failed to load package testutil: could not load export data: no export data for "github.com/prometheus/client_golang/prometheus/testutil" 

To reproduce:

git clone https://github.com/Vonage/gosrvlib.git
cd gosrvlib
make modupdate x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions