Explorar o código

fix: make static check happy

JimMoen hai 1 ano
pai
achega
1b97722725
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      apps/emqx_opentelemetry/include/emqx_otel_trace.hrl

+ 3 - 3
apps/emqx_opentelemetry/include/emqx_otel_trace.hrl

@@ -40,9 +40,9 @@
 
 
 -record(?EMQX_OTEL_SAMPLER, {
 -record(?EMQX_OTEL_SAMPLER, {
     type ::
     type ::
-        {?EMQX_OTEL_SAMPLE_CLIENTID, binary()}
-        | {?EMQX_OTEL_SAMPLE_TOPIC, binary()},
-    extra :: map()
+        {?EMQX_OTEL_SAMPLE_CLIENTID, binary() | '_'}
+        | {?EMQX_OTEL_SAMPLE_TOPIC, binary() | '_'},
+    extra :: map() | '_'
 }).
 }).
 
 
 -endif.
 -endif.