Skip to content

Commit

Permalink
initialize containerLifecycle for penumbra node
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Mar 22, 2023
1 parent 19b370d commit 5e5069e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chain/penumbra/penumbra_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ func (c *PenumbraChain) NewChainNode(

pn := &PenumbraAppNode{log: c.log, Index: i, Chain: c,
DockerClient: dockerClient, NetworkID: networkID, TestName: testName, Image: penumbraImage}

pn.containerLifecycle = dockerutil.NewContainerLifecycle(c.log, dockerClient, pn.Name())

pv, err := dockerClient.VolumeCreate(ctx, volumetypes.VolumeCreateBody{
Labels: map[string]string{
dockerutil.CleanupLabel: testName,
Expand Down

0 comments on commit 5e5069e

Please sign in to comment.