Commit 696eabd
authored
Return null from transformer when not transforming (elastic#125961) (elastic#125973)
The transform API for instrumentation should return null when no
transformation occurs. This commit fixes our entitlement transformer to
return null instead of the original buffer.
closes elastic#1259201 parent 95e26a4 commit 696eabd
File tree
1 file changed
+1
-1
lines changed- libs/entitlement/src/main/java/org/elasticsearch/entitlement/instrumentation
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments