Skip to content

Commit

Permalink
Fix linting error at jaegerstorage extension
Browse files Browse the repository at this point in the history
Signed-off-by: James Ryans <[email protected]>
  • Loading branch information
james-ryans committed Jan 15, 2024
1 parent 8a906db commit d27d894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/jaeger/internal/extension/jaegerstorage/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (s *storageExt) Start(ctx context.Context, host component.Host) error {
}
for name, g := range s.config.GRPC {
if _, ok := s.factories[name]; ok {
return fmt.Errorf("duplicate grpc-plugin storage name %s", name)
return fmt.Errorf("duplicate grpc storage name %s", name)
}
var err error
s.factories[name], err = grpc.NewFactoryWithConfig(
Expand All @@ -82,7 +82,7 @@ func (s *storageExt) Start(ctx context.Context, host component.Host) error {
s.logger.With(zap.String("storage_name", name)),
)
if err != nil {
return fmt.Errorf("failed to initialize grpc-plugin storage: %v", err)
return fmt.Errorf("failed to initialize grpc storage: %w", err)
}
}
// TODO add support for other backends
Expand Down

0 comments on commit d27d894

Please sign in to comment.