mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix comment
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
968c86d642
commit
49f48d8f65
|
@ -107,7 +107,7 @@ func NewDiscovery(conf *SDConfig, logger log.Logger) (*Discovery, error) {
|
|||
client.WithAPIVersionNegotiation(),
|
||||
}
|
||||
|
||||
// There are other protocols that HTTP supported by the Docker daemon, like
|
||||
// There are other protocols than HTTP supported by the Docker daemon, like
|
||||
// unix, which are not supported by the HTTP client. Passing HTTP client
|
||||
// options to the Docker client makes those non-HTTP requests fail.
|
||||
if conf.url.Scheme == "http" || conf.url.Scheme == "https" {
|
||||
|
|
Loading…
Reference in a new issue