You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validation of events monitoring failed with output set to go-template and a template that contains a builtin function.
What you expected to happen:
Output formatted with the template.
How to reproduce it (as minimally and precisely as possible):
crictl events -o go-template "{{ . | json }}"
Anything else we need to know?:
The reason for the issue is that the validation function does not include the builtin template functions in the validation step, but the final render function does.
I fixed it and provide a PR
Environment:
Version: v1.31.1
The text was updated successfully, but these errors were encountered:
What happened:
Validation of events monitoring failed with output set to go-template and a template that contains a builtin function.
What you expected to happen:
Output formatted with the template.
How to reproduce it (as minimally and precisely as possible):
crictl events -o go-template "{{ . | json }}"
Anything else we need to know?:
The reason for the issue is that the validation function does not include the builtin template functions in the validation step, but the final render function does.
I fixed it and provide a PR
Environment:
Version: v1.31.1
The text was updated successfully, but these errors were encountered: