Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed May 27, 2021
1 parent df05afa commit e851160
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Introduce `AppSettings` instead of `Parameters` (#3163)
- Remove unused testutil.TempSocketName (#3291)
- Move BigEndian helper functions in `tracetranslator` to an internal package.(#3298)
- Rename `configtest.LoadConfigFile` to `configtest.LoadConfigAndValidate` (#3306)

## 💡 Enhancements 💡

Expand Down
5 changes: 2 additions & 3 deletions receiver/prometheusreceiver/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ func TestLoadConfigFailsOnUnknownPrometheusSection(t *testing.T) {
factory := NewFactory()
factories.Receivers[typeStr] = factory
cfg, err := configtest.LoadConfig(path.Join(".", "testdata", "invalid-config-prometheus-section.yaml"), factories)
require.NoError(t, err)
require.Nil(t, cfg)
assert.Error(t, cfg.Validate())
assert.Error(t, err)
assert.Nil(t, cfg)
}

0 comments on commit e851160

Please sign in to comment.