Project

General

Profile

Actions

User story #17512

open

Create a "condition_from_string_compare" method

Added by Alexis Mousset almost 4 years ago. Updated over 2 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
-
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

 bundle agent rudder_condition_from_string_compare(condition_prefix, string1, string2) {
  classes:
      "${condition_prefix}_reached"   scope => "namespace";
      "${condition_prefix}_true" expression => strcmp("${string1}", "${string2}"), scope => "namespace";
      "${condition_prefix}_false"       not => "${condition_prefix}_true", scope => "namespace";
}
Actions #1

Updated by François ARMAND over 3 years ago

  • Tracker changed from Bug to User story
  • Priority deleted (0)
Actions #2

Updated by Benoît PECCATTE over 2 years ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF