Skip to content

Commit

Permalink
Rename custom_dimension_.. config files to custom_namespace_...
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinav Ittekot committed Nov 10, 2022
1 parent 1122462 commit cc21c15
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestConfLoad(t *testing.T) {
{configFile: "empty_rolearn.ok.yml"},
{configFile: "sts_region.ok.yml"},
{configFile: "multiple_roles.ok.yml"},
{configFile: "custom_dimension.yml"},
{configFile: "custom_namespace.ok.yml"},
}
for _, tc := range testCases {
config := ScrapeConf{}
Expand Down Expand Up @@ -42,15 +42,15 @@ func TestBadConfigs(t *testing.T) {
errorMsg: "apiVersion line missing or version is unknown (invalidVersion)",
},
{
configFile: "custom_dimension_without_name.yml",
configFile: "custom_namespace_without_name.bad.yml",
errorMsg: "Name should not be empty",
},
{
configFile: "custom_dimension_without_namespace.yml",
configFile: "custom_namespace_without_namespace.bad.yml",
errorMsg: "Namespace should not be empty",
},
{
configFile: "custom_dimension_without_region.yml",
configFile: "custom_namespace_without_region.bad.yml",
errorMsg: "Regions should not be empty",
},
}
Expand Down
File renamed without changes.

0 comments on commit cc21c15

Please sign in to comment.