mirror of
https://github.com/amir20/dozzle.git
synced 2026-01-03 11:35:00 +01:00
fix: fixes healthcheck when containers are stopped
This commit is contained in:
@@ -319,7 +319,7 @@ func (d *dockerClient) Ping(ctx context.Context) (types.Ping, error) {
|
||||
return d.cli.Ping(ctx)
|
||||
}
|
||||
|
||||
var PARENTHESIS_RE = regexp.MustCompile(`\(([^)]+)\)`)
|
||||
var PARENTHESIS_RE = regexp.MustCompile(`\(([a-zA-Z]+)\)`)
|
||||
|
||||
func findBetweenParentheses(s string) string {
|
||||
if results := PARENTHESIS_RE.FindStringSubmatch(s); results != nil {
|
||||
|
||||
Reference in New Issue
Block a user