Skip to content

Commit

Permalink
Linter pacification
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Chlebek <[email protected]>
  • Loading branch information
echlebek committed Oct 13, 2023
1 parent d06d34c commit 9793b03
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/configprovider/opampprovider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ func TestInvalidYAML(t *testing.T) {

func TestValid(t *testing.T) {
p := New()
defer func() { _ = p.Shutdown(context.Background()) }()
defer func() {
if err := p.Shutdown(context.Background()); err != nil {
t.Error(err)
}
}()
ret, err := p.Retrieve(context.Background(), "opamp:"+absolutePath(t, filepath.Join("testdata", "valid.yaml")), nil)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 9793b03

Please sign in to comment.