Skip to content

Commit

Permalink
removed unnecessary named import
Browse files Browse the repository at this point in the history
  • Loading branch information
msuchacz-cll committed Dec 16, 2024
1 parent b95a534 commit 3db9372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/testdata/testspecs/v2_specs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/google/uuid"
tomlTools "github.com/pelletier/go-toml"
"github.com/pelletier/go-toml/v2"
"github.com/test-go/testify/require"

"github.com/smartcontractkit/chainlink/v2/core/chains/evm/assets"
Expand Down Expand Up @@ -886,7 +886,7 @@ ds -> ds_parse -> ds_multiply;

func GenerateStreamSpecJob(spec StreamSpec) (job.Job, error) {
jb := job.Job{ExternalJobID: uuid.New()}
err := tomlTools.Unmarshal([]byte(spec.Toml()), &jb)
err := toml.Unmarshal([]byte(spec.Toml()), &jb)
return jb, err
}

Expand Down

0 comments on commit 3db9372

Please sign in to comment.