Skip to content

Commit

Permalink
[chore] bump opamp-go to 0.14.0 (#32056)
Browse files Browse the repository at this point in the history
**Description:** Bumps opamp-go to latest version to contain better
shutdown handling

**Link to tracking Issue:** n/a

**Testing:** unit tests

**Documentation:** n/a
  • Loading branch information
jaronoff97 committed Apr 1, 2024
1 parent 0307880 commit c5316c6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cmd/opampsupervisor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/knadh/koanf/providers/rawbytes v0.1.0
github.com/knadh/koanf/v2 v2.1.0
github.com/oklog/ulid/v2 v2.1.0
github.com/open-telemetry/opamp-go v0.12.0
github.com/open-telemetry/opamp-go v0.14.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/config/configtls v0.97.1-0.20240327181407-1038b67c85a0
go.opentelemetry.io/collector/semconv v0.97.1-0.20240327181407-1038b67c85a0
Expand Down
4 changes: 2 additions & 2 deletions cmd/opampsupervisor/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions cmd/opampsupervisor/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,6 @@ func (s *Supervisor) startOpAMP() error {
s.logger.Debug("Received ConnectionSettings request")
return nil
},
OnOpampConnectionSettingsAcceptedFunc: func(_ context.Context, _ *protobufs.OpAMPConnectionSettings) {
// TODO: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/21043
s.logger.Debug("ConnectionSettings accepted")
},
OnCommandFunc: func(_ context.Context, command *protobufs.ServerToAgentCommand) error {
cmdType := command.GetType()
if *cmdType.Enum() == protobufs.CommandType_CommandType_Restart {
Expand Down
2 changes: 1 addition & 1 deletion cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ require (
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
github.com/nginxinc/nginx-prometheus-exporter v0.11.0 // indirect
github.com/oklog/ulid/v2 v2.1.0 // indirect
github.com/open-telemetry/opamp-go v0.12.0 // indirect
github.com/open-telemetry/opamp-go v0.14.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding v0.97.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer v0.97.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/awsutil v0.97.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions cmd/otelcontribcol/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extension/opampextension/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/google/uuid v1.6.0
github.com/oklog/ulid/v2 v2.1.0
github.com/open-telemetry/opamp-go v0.12.0
github.com/open-telemetry/opamp-go v0.14.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.97.1-0.20240327181407-1038b67c85a0
go.opentelemetry.io/collector/config/configopaque v1.4.1-0.20240327181407-1038b67c85a0
Expand Down
4 changes: 2 additions & 2 deletions extension/opampextension/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5316c6

Please sign in to comment.