Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ptodev committed Dec 19, 2023
1 parent d94e489 commit b94e576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions component/discovery/ovhcloud/ovhcloud_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func TestUnmarshal(t *testing.T) {
consumer_key = "consumerkey"
service = "vps"
`,
errorMsg: "application key can not be empty",
errorMsg: "application_key can not be empty",
},
{
testName: "empty application secret",
Expand All @@ -76,7 +76,7 @@ func TestUnmarshal(t *testing.T) {
consumer_key = "consumerkey"
service = "vps"
`,
errorMsg: "application secret can not be empty",
errorMsg: "application_secret can not be empty",
},
{
testName: "empty consumer key",
Expand All @@ -88,7 +88,7 @@ func TestUnmarshal(t *testing.T) {
consumer_key = ""
service = "vps"
`,
errorMsg: "consumer key can not be empty",
errorMsg: "consumer_key can not be empty",
},
{
testName: "empty endpoint",
Expand Down
2 changes: 0 additions & 2 deletions converter/internal/promtailconvert/testdata/azure.river
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ discovery.azure "fun" {
managed_identity {
client_id = "client"
}
follow_redirects = true
enable_http2 = true
}

local.file_match "fun" {
Expand Down

0 comments on commit b94e576

Please sign in to comment.