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
if module.params['traffic_group'] and module.params['traffic_group'] != data['traffic-group']:
data['traffic-group'] = module.params['traffic_group']
res = True
if module.params['traffic_group'] and module.params['traffic_group'] != data['traffic-log']:
data['traffic-log'] = module.params['traffic_group']
res = True
if module.params['traffic_log'] and module.params['traffic_log'] != data['traffic-log']:
data['traffic-log'] = module.params['traffic_log']
res = True
1st condition "traffic-group" evaluation is proper.
2nd condition evaluation is wrong - looks like combination between 1st and 3rd hence it's redundant and shall be removed.
3rd condition "traffic-log" evaluation is proper.
In our project to properly interact with FortiADC device updates we are manually remove those lines from the module.
The text was updated successfully, but these errors were encountered:
Condition in virtual server python part of module (lines 264-267) is wrong and should be removed:
https://github.com/fortinet-ansible-dev/ansible-galaxy-fortiadc-collection/blob/galaxy/1.0.1/plugins/modules/fadcos_virtual_server.py#L264
There are conditions evaluated:
1st condition "traffic-group" evaluation is proper.
2nd condition evaluation is wrong - looks like combination between 1st and 3rd hence it's redundant and shall be removed.
3rd condition "traffic-log" evaluation is proper.
In our project to properly interact with FortiADC device updates we are manually remove those lines from the module.
The text was updated successfully, but these errors were encountered: