Skip to content

Commit

Permalink
Fix NPE
Browse files Browse the repository at this point in the history
Signed-off-by: suranjay <surajkumar.tu@gmail.com>
  • Loading branch information
suranjay committed Jun 26, 2023
1 parent 830af09 commit 5d28259
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@

import org.opensearch.telemetry.tracing.noop.NoopTracer;

import java.util.Optional;

/**
* No-op implementation of TracerFactory
*/
public class NoopTracerFactory extends TracerFactory {
public NoopTracerFactory() {
super(null, null, null);
super(null, Optional.empty(), null);
}

@Override
Expand Down

0 comments on commit 5d28259

Please sign in to comment.