Project

General

Profile

Actions

Bug #22620

closed

Missleading use of parameter variable_name in method condition_from_variable_match

Added by Elaad FURREEDAN about 1 year ago. Updated 12 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

I was trying to define a condition according to a property, so I use as variable_name parameter: ${node.properties[..][..]}

I get an error :

 E| error         test_condition_var    Check if Ntp Configurati| ntp_config_in_use  Create the condition ntp_config_in_use_{true,false} from the result of regex: /Ntp/ on variable Ntp could not be repaired

In fact, we don't have to use the syntax ${...} since it is the name of the variable, it should be explicit in the documentation

Actions

Also available in: Atom PDF