Skip to content

Commit

Permalink
cleaned up opamp config, removed duplicate endpoint (#1261)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Porter <[email protected]>
  • Loading branch information
portertech authored Oct 3, 2023
1 parent 7b955c7 commit 5b690c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions pkg/extension/opampextension/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ import (
type Config struct {
confighttp.HTTPClientSettings `mapstructure:",squash"`

// Endpoint is the OpAMP server URL. Transport based on the scheme of the URL.
Endpoint string `mapstructure:"endpoint"`

// InstanceUID is a ULID formatted as a 26 character string in canonical
// representation. Auto-generated on start if missing.
InstanceUID string `mapstructure:"instance_uid"`
Expand Down
1 change: 0 additions & 1 deletion pkg/extension/opampextension/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func TestUnmarshalConfig(t *testing.T) {
AuthenticatorID: component.NewID("sumologic"),
},
},
Endpoint: "wss://127.0.0.1:4320/v1/opamp",
InstanceUID: "01BX5ZZKBKACTAV9WEVGEMMVRZ",
RemoteConfigurationDirectory: "/tmp/",
}, cfg)
Expand Down

0 comments on commit 5b690c8

Please sign in to comment.