Project

General

Profile

Actions

Architecture #2765

closed

In rudder_lib.st are two differents classes which do the same things.

Added by Nicolas PERRON over 11 years ago. Updated over 11 years ago.

Status:
Released
Priority:
3
Assignee:
Nicolas PERRON
Category:
System techniques
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

It seems that in rudder_lib.st are a duplicate class:

[...]
body classes kept_if_else(kept, yes,no)

{
promise_kept     => { "$(kept)" };
promise_repaired => { "$(yes)" };
repair_failed    => { "$(no)" };
repair_denied    => { "$(no)" };
repair_timeout   => { "$(no)" };
}

[..]

body classes class_trigger(if,else,kept)
{
promise_kept => { "$(kept)" };
promise_repaired => { "$(if)" };
repair_failed => { "$(else)" };
repair_denied    => { "$(else)" };
repair_timeout   => { "$(else)" };
}
[...]

We should use one or another but not both of them.

Actions

Also available in: Atom PDF