I try to convert tailf:action to action. After updates, I try to compile the file but saw the below errors:
error: unexpected keyword ‘tailf:display-when’ .
The “action” looks like
action external-status {
tailf:exec “/usr/libexec/confd/external-lva-port-status”;
tailf:display-when “…/…/…/capabilities/distribution = ‘hammer’”;
tailf:info “Display external LVA port status”;
tailf:cli-mount-point “show”;
output {…}
}
The error is caused because “tailf:display-when” is not supported in action ?
Thanks.