Skip to content

Commit

Permalink
use log stream from env component, not cl node
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Jan 18, 2024
1 parent 3bc3b00 commit 58b9490
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions integration-tests/docker/test_env/cl_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,8 @@ type ClNode struct {
UserEmail string `json:"userEmail"`
UserPassword string `json:"userPassword"`
AlwaysPullImage bool `json:"-"`
PostStartsHooks []tc.ContainerHook `json:"-"`
PostStopsHooks []tc.ContainerHook `json:"-"`
PreTerminatesHooks []tc.ContainerHook `json:"-"`
t *testing.T
l zerolog.Logger
ls *logstream.LogStream
}

type ClNodeOption = func(c *ClNode)
Expand Down Expand Up @@ -97,7 +93,7 @@ func WithDbContainerName(name string) ClNodeOption {

func WithLogStream(ls *logstream.LogStream) ClNodeOption {
return func(c *ClNode) {
c.ls = ls
c.LogStream = ls
}
}

Expand Down

0 comments on commit 58b9490

Please sign in to comment.