Skip to content

Commit 70435aa

Browse files
committed
Fix lint
1 parent ac89526 commit 70435aa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

integration-tests/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ require (
1313
github.com/google/uuid v1.6.0
1414
github.com/lib/pq v1.10.9
1515
github.com/pelletier/go-toml/v2 v2.2.2
16-
github.com/pkg/errors v0.9.1
1716
github.com/rs/zerolog v1.31.0
1817
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240805160614-501c4f40b98c
1918
github.com/smartcontractkit/chainlink-solana v1.1.0
@@ -330,6 +329,7 @@ require (
330329
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
331330
github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect
332331
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
332+
github.com/pkg/errors v0.9.1 // indirect
333333
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
334334
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
335335
github.com/prometheus/alertmanager v0.26.0 // indirect

integration-tests/testconfig/testconfig.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"time"
1111

12-
"github.com/pkg/errors"
12+
"errors"
1313

1414
"github.com/barkimedes/go-deepcopy"
1515
"github.com/google/uuid"
@@ -561,13 +561,13 @@ func GetConfig(configurationName string, product Product) (TestConfig, error) {
561561
logger.Info().Msg("Loading config values from default ~/.testsecrets env file")
562562
err = ctf_config.LoadSecretEnvsFromFiles()
563563
if err != nil {
564-
return TestConfig{}, errors.Wrapf(err, "error reading test config values from ~/.testsecrets file")
564+
return TestConfig{}, fmt.Errorf("error reading test config values from ~/.testsecrets file: %w", err)
565565
}
566566

567567
logger.Info().Msg("Reading values from environment variables")
568568
err = testConfig.ReadFromEnvVar()
569569
if err != nil {
570-
return TestConfig{}, errors.Wrapf(err, "error reading test config values from env vars")
570+
return TestConfig{}, fmt.Errorf("error reading test config values from env vars: %w", err)
571571
}
572572

573573
logger.Debug().Msg("Validating test config")

0 commit comments

Comments
 (0)