Skip to content

Commit

Permalink
build: fix compile erros due to beats recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall committed Oct 23, 2023
1 parent ac88d93 commit b5a5419
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/beater/beatertest/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func makeNullOutput(
_ *agentconfig.C,
) (outputs.Group, error) {
client := nullOutput{observer: observer}
return outputs.Success(1, 0, client)
return outputs.Success(agentconfig.Namespace{}, 1, 0, client)
}

func (nullOutput) String() string {
Expand Down
1 change: 1 addition & 0 deletions internal/elasticsearch/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func TestBeatsConfigSynced(t *testing.T) {

knownUnhandled := []string{
"backoff", // we have our own version with its own type
"queue",
"bulk_max_size",
"escape_html",
// TODO Kerberos auth (https://github.com/elastic/apm-server/issues/3794)
Expand Down

0 comments on commit b5a5419

Please sign in to comment.