Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl committed Aug 9, 2024
1 parent ac89526 commit 70435aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ require (
github.com/google/uuid v1.6.0
github.com/lib/pq v1.10.9
github.com/pelletier/go-toml/v2 v2.2.2
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.31.0
github.com/smartcontractkit/chainlink-common v0.2.2-0.20240805160614-501c4f40b98c
github.com/smartcontractkit/chainlink-solana v1.1.0
Expand Down Expand Up @@ -330,6 +329,7 @@ require (
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/prometheus/alertmanager v0.26.0 // indirect
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/testconfig/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"github.com/pkg/errors"
"errors"

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

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

logger.Debug().Msg("Validating test config")
Expand Down

0 comments on commit 70435aa

Please sign in to comment.