Enable basic auth for service query / scaling on provider

- this is a blocking issue for auth with Docker Swarm
fixes #879

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (VMware)
2018-09-19 20:41:28 +01:00
committed by Alex Ellis
parent e7cfaa1b9b
commit 3598da2e51
5 changed files with 25 additions and 8 deletions

View File

@ -7,7 +7,7 @@ import (
"net/http"
)
// PrometheusQuery a PrometheusQuery
// PrometheusQuery represents parameters for querying Prometheus
type PrometheusQuery struct {
Port int
Host string