diff --git a/.travis.yml b/.travis.yml index 3ff54ea..e9bca4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,9 @@ sudo: false language: go go: -- 1.7.x -- 1.8.x -- 1.9.x + - 1.7.x + - 1.8.x + - 1.9.x script: - go test -short ./... diff --git a/api/prometheus/v1/api.go b/api/prometheus/v1/api.go index 3d37437..c41c0cf 100644 --- a/api/prometheus/v1/api.go +++ b/api/prometheus/v1/api.go @@ -131,9 +131,6 @@ type ConfigResult struct { // FlagsResult contains the result from querying the flag endpoint. type FlagsResult map[string]string -// Flags models a set of flags that Prometheus is configured with. -type Flags map[string]string - // SnapshotResult contains the result from querying the snapshot endpoint. type SnapshotResult struct { Name string `json:"name"`