mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00: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 New Issue
Block a user