Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/github.com/elastic/ela…
Browse files Browse the repository at this point in the history
…stic-agent-client/v7-7.10.0
  • Loading branch information
michel-laterman authored Jun 3, 2024
2 parents 93ce008 + 6573c38 commit 0c8a82d
Show file tree
Hide file tree
Showing 3 changed files with 381 additions and 398 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/otel/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestStartCollector(t *testing.T) {
if tc.expectedErrorMessage == "" {
assert.Eventually(t, func() bool {
return otelcol.StateRunning == collector.GetState()
}, 2*time.Second, 200*time.Millisecond)
}, 10*time.Second, 200*time.Millisecond)
}
collector.Shutdown()
wg.Wait()
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/remote/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// Config is the configuration for the client.
type Config struct {
Protocol Protocol `config:"protocol" yaml:"protocol"`
Protocol Protocol `config:"protocol" yaml:"protocol,omitempty"`
SpaceID string `config:"space.id" yaml:"space.id,omitempty"`
Path string `config:"path" yaml:"path,omitempty"`
Host string `config:"host" yaml:"host,omitempty"`
Expand Down
Loading

0 comments on commit 0c8a82d

Please sign in to comment.