Skip to content

Commit

Permalink
Added context.Background()
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrytfleung committed Mar 5, 2024
1 parent 1a67131 commit 9d185f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/solarwindsapmsettingsextension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func newSolarwindsApmSettingsExtension(extensionCfg *Config, logger *zap.Logger)

func (extension *solarwindsapmSettingsExtension) Start(ctx context.Context, _ component.Host) error {
extension.logger.Debug("Starting up solarwinds apm settings extension")
ctx = context.Background()
ctx, extension.cancel = context.WithCancel(ctx)
configOk := validateSolarwindsApmSettingsExtensionConfiguration(extension.config, extension.logger)
if configOk {
Expand Down

0 comments on commit 9d185f2

Please sign in to comment.