Skip to content

Commit 0c8a82d

Browse files
Merge branch 'main' into dependabot/go_modules/github.com/elastic/elastic-agent-client/v7-7.10.0
2 parents 93ce008 + 6573c38 commit 0c8a82d

File tree

3 files changed

+381
-398
lines changed

3 files changed

+381
-398
lines changed

internal/pkg/otel/run_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestStartCollector(t *testing.T) {
4949
if tc.expectedErrorMessage == "" {
5050
assert.Eventually(t, func() bool {
5151
return otelcol.StateRunning == collector.GetState()
52-
}, 2*time.Second, 200*time.Millisecond)
52+
}, 10*time.Second, 200*time.Millisecond)
5353
}
5454
collector.Shutdown()
5555
wg.Wait()

internal/pkg/remote/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
// Config is the configuration for the client.
1515
type Config struct {
16-
Protocol Protocol `config:"protocol" yaml:"protocol"`
16+
Protocol Protocol `config:"protocol" yaml:"protocol,omitempty"`
1717
SpaceID string `config:"space.id" yaml:"space.id,omitempty"`
1818
Path string `config:"path" yaml:"path,omitempty"`
1919
Host string `config:"host" yaml:"host,omitempty"`

0 commit comments

Comments
 (0)