We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 030de4b commit 21dcf2dCopy full SHA for 21dcf2d
framework/promtail.go
@@ -122,7 +122,7 @@ func NewLokiStreamer() error {
122
req := testcontainers.ContainerRequest{
123
Image: "grafana/promtail:latest",
124
ExposedPorts: []string{"9080/tcp"},
125
- Name: DefaultTCName("promtail"),
+ Name: "promtail",
126
Cmd: cmd,
127
Labels: DefaultTCLabels(),
128
Files: []testcontainers.ContainerFile{
@@ -151,6 +151,7 @@ func NewLokiStreamer() error {
151
152
_, err = testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
153
ContainerRequest: req,
154
+ Reuse: true,
155
Started: true,
156
})
157
if err != nil {
0 commit comments