diff --git a/.changeset/big-camels-report.md b/.changeset/big-camels-report.md new file mode 100644 index 00000000000..f81f66b9138 --- /dev/null +++ b/.changeset/big-camels-report.md @@ -0,0 +1,5 @@ +--- +"chainlink": patch +--- + +#bugfix fix non-idempotent loopp registry.Register diff --git a/plugins/loop_registry.go b/plugins/loop_registry.go index 5545e92534b..8e79558c4c8 100644 --- a/plugins/loop_registry.go +++ b/plugins/loop_registry.go @@ -1,7 +1,6 @@ package plugins import ( - "errors" "fmt" "sort" "sync" @@ -14,8 +13,6 @@ import ( "github.com/smartcontractkit/chainlink/v2/core/config" ) -var ErrExists = errors.New("plugin already registered") - type RegisteredLoop struct { Name string EnvCfg loop.EnvConfig