mirror of https://github.com/prometheus/prometheus
config: fix puppetdb tests
This PR fixes the tests in main. The last merge introduced a failing test in the config package. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>pull/9350/head
parent
62906c1b4f
commit
9d65017798
|
@ -1297,7 +1297,7 @@ var expectedErrors = []struct {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
filename: "puppetdb_no_url.bad.yml",
|
filename: "puppetdb_no_url.bad.yml",
|
||||||
errMsg: "url missing",
|
errMsg: "URL is missing",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
filename: "puppetdb_bad_url.bad.yml",
|
filename: "puppetdb_bad_url.bad.yml",
|
||||||
|
@ -1305,7 +1305,7 @@ var expectedErrors = []struct {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
filename: "puppetdb_no_scheme.bad.yml",
|
filename: "puppetdb_no_scheme.bad.yml",
|
||||||
errMsg: "url scheme must be http or https",
|
errMsg: "URL scheme must be 'http' or 'https'",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
filename: "hetzner_role.bad.yml",
|
filename: "hetzner_role.bad.yml",
|
||||||
|
|
Loading…
Reference in New Issue