Skip to content

Commit

Permalink
Remove returned error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mellon85 committed Nov 22, 2023
1 parent 7fc48b9 commit 1bc19f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/cluster-agent/subcommands/start/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,7 @@ func initializeRemoteConfig(ctx context.Context) (*remote.Client, error) {
return nil, fmt.Errorf("unable to create remote-config service: %w", err)
}

if err := configService.Start(ctx); err != nil {
return nil, fmt.Errorf("unable to start remote-config service: %w", err)
}
configService.Start(ctx)

rcClient, err := remote.NewClient("cluster-agent", configService, version.AgentVersion, []data.Product{data.ProductAPMTracing}, time.Second*5)
if err != nil {
Expand Down

0 comments on commit 1bc19f0

Please sign in to comment.