Skip to content

Commit

Permalink
fixup! fixup! Incorporate code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
pchila committed Sep 1, 2023
1 parent f1acc3e commit ae6d9de
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestDiagnosticLocalConfig(t *testing.T) {
APIKey: "apikey",
SecretToken: "secret",
Hosts: []string{"host1", "host2"},
GlobalLabels: "k1=b1,k2=v2",
GlobalLabels: map[string]string{"k1": "v1", "k2": "v2"},
TLS: monitoringCfg.APMTLS{
SkipVerify: false,
ServerCertificate: "/path/to/server/cert",
Expand Down
1 change: 0 additions & 1 deletion pkg/component/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"google.golang.org/protobuf/types/known/structpb"

"github.com/elastic/elastic-agent-client/v7/pkg/proto"

"github.com/elastic/elastic-agent/pkg/limits"
)

Expand Down
1 change: 0 additions & 1 deletion pkg/component/fake/component/comp/apm.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ func (ats *apmTracesSender) createNewTracer(cfg *proto.APMConfig) (*apm.Tracer,
}
hosts = append(hosts, u)
}
fmt.Printf("Setting apm hosts to %v", hosts)
ts.SetServerURL(hosts...)
}
if cfg.Elastic.ApiKey != "" {
Expand Down

0 comments on commit ae6d9de

Please sign in to comment.