Skip to content

Commit

Permalink
Fixup: respond to review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Dec 19, 2023
1 parent 93e6833 commit ef41e2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/fixture/tmpnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ network, _ := tmpnet.StartNetwork(
ginkgo.GinkgoWriter, // Writer to report progress of network start
"", // Use default root dir (~/.tmpnet)
&tmpnet.Network{
DefaultRuntime: tmpnet.NodeRuntimeConfig{
NodeRuntimeConfig: tmpnet.NodeRuntimeConfig{
ExecPath: "/path/to/avalanchego", // Defining the avalanchego exec path is required
},
},
Expand All @@ -104,7 +104,7 @@ network, _ := tmpnet.StartNetwork(
ginkgo.GinkgoWriter,
"",
&tmpnet.Network{
DefaultRuntime: tmpnet.NodeRuntimeConfig{
NodeRuntimeConfig: tmpnet.NodeRuntimeConfig{
ExecPath: "/path/to/avalanchego",
},
Nodes: []*Node{
Expand Down
2 changes: 1 addition & 1 deletion tests/fixture/tmpnet/node_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (p *NodeProcess) Start(w io.Writer) error {
// Avoid attempting to start an already running node.
proc, err := p.getProcess()
if err != nil {
return fmt.Errorf("failed to start node process: %w", err)
return fmt.Errorf("failed to retrieve existing process: %w", err)
}
if proc != nil {
return errNodeAlreadyRunning
Expand Down

0 comments on commit ef41e2e

Please sign in to comment.