Skip to content

Commit 00d2763

Browse files
Bump vrl again and add internal_failure_reasons
1 parent 8ff0eca commit 00d2763

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/dnstap-parser/src/vrl_functions/parse_dnstap.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ impl Function for ParseDnstap {
4040
"Parses the `value` as base64 encoded DNSTAP data."
4141
}
4242

43+
fn internal_failure_reasons(&self) -> &'static [&'static str] {
44+
&[
45+
"`value` is not a valid base64 encoded string.",
46+
"dnstap parsing failed for `value`",
47+
]
48+
}
49+
4350
fn parameters(&self) -> &'static [Parameter] {
4451
&PARAMETERS
4552
}

lib/enrichment/src/get_enrichment_table_record.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ impl Function for GetEnrichmentTableRecord {
9696
USAGE
9797
}
9898

99+
fn internal_failure_reasons(&self) -> &'static [&'static str] {
100+
&[
101+
"The row is not found.",
102+
"Multiple rows are found that match the condition.",
103+
]
104+
}
105+
99106
fn parameters(&self) -> &'static [Parameter] {
100107
&PARAMETERS
101108
}

0 commit comments

Comments
 (0)