Skip to content

Commit

Permalink
Remove slice
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Hartland <stevenmhartland@gmail.com>
  • Loading branch information
marcinmilewski93 and stevenh authored Oct 31, 2024
1 parent 90ad980 commit df78856
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/influxdb/influxdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,10 @@ func WithInitDb(srcPath string) testcontainers.CustomizeRequestOption {
}
req.Files = append(req.Files, cf)

strategies := []wait.Strategy{
req.WaitingFor = wait.ForAll(
wait.ForLog("Server shutdown completed"),
waitForHttpHealth(),
}
req.WaitingFor = wait.ForAll(strategies...)
)
return nil
}
}
Expand Down

0 comments on commit df78856

Please sign in to comment.