Skip to content

Commit

Permalink
Remove nested go.mods and fix collector deps to v0.79.0 (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacd authored Jun 26, 2023
1 parent 5441766 commit c5c36c3
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 1,160 deletions.
56 changes: 0 additions & 56 deletions collector/gen/exporter/fileexporter/go.mod

This file was deleted.

482 changes: 0 additions & 482 deletions collector/gen/exporter/fileexporter/go.sum

This file was deleted.

5 changes: 3 additions & 2 deletions collector/gen/receiver/otlpreceiver/otlp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ func TestGRPCInvalidTLSCredentials(t *testing.T) {

assert.EqualError(t,
r.Start(context.Background(), componenttest.NewNopHost()),
`failed to load TLS config: failed to load TLS cert and key: for auth via TLS, provide both certificate and key, or neither`)
`failed to load TLS config: for auth via TLS, either both certificate and key must be supplied, or neither`)
}

func TestGRPCMaxRecvSize(t *testing.T) {
Expand Down Expand Up @@ -886,7 +886,8 @@ func TestHTTPInvalidTLSCredentials(t *testing.T) {
require.NoError(t, err)
assert.NotNil(t, r)
assert.EqualError(t, r.Start(context.Background(), componenttest.NewNopHost()),
`failed to load TLS config: failed to load TLS cert and key: for auth via TLS, provide both certificate and key, or neither`)
`failed to load TLS config: for auth via TLS, either both certificate and key must be supplied, or neither`)

}

func testHTTPMaxRequestBodySizeJSON(t *testing.T, payload []byte, size int, expectedStatusCode int) {
Expand Down
47 changes: 0 additions & 47 deletions collector/receiver/filereceiver/go.mod

This file was deleted.

Loading

0 comments on commit c5c36c3

Please sign in to comment.