mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 10:18:59 +02:00
feat: docker over tls (#178)
This commit is contained in:
@@ -61,7 +61,7 @@ func NewMonitor(r types.Route) types.HealthMonCheck {
|
||||
}
|
||||
if r.IsDocker() {
|
||||
cont := r.ContainerInfo()
|
||||
client, err := docker.NewClient(cont.DockerHost)
|
||||
client, err := docker.NewClient(cont.DockerCfg)
|
||||
if err != nil {
|
||||
return mon
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user