Skip to content

Commit

Permalink
Add GetAPIClient to ClNode E2E docker wrapper (#11240)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl authored Nov 9, 2023
1 parent b8caeda commit 6481bed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration-tests/docker/test_env/cl_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ func (n *ClNode) GetContainerName() string {
return strings.Replace(name, "/", "", -1)
}

func (n *ClNode) GetAPIClient() *client.ChainlinkClient {
return n.API
}

func (n *ClNode) GetPeerUrl() (string, error) {
p2pKeys, err := n.API.MustReadP2PKeys()
if err != nil {
Expand Down

0 comments on commit 6481bed

Please sign in to comment.