Skip to content

Commit

Permalink
Merge pull request #166 from Bee-lee/add-composoite-ids
Browse files Browse the repository at this point in the history
fix wrong function call (dejavu)
  • Loading branch information
Bee-lee authored Oct 7, 2021
2 parents eaf7e33 + a97d634 commit a6a764d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions testdata/testdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ const (

var (
// RuleCompositeIDs are in a `rule.module|ERROR_KEY` format
Rule1CompositeID = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule1ID), types.ErrorKey(ErrorKey1))
Rule2CompositeID = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule2ID), types.ErrorKey(ErrorKey2))
Rule3CompositeID = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule3ID), types.ErrorKey(ErrorKey3))
Rule4CompositeID = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule4ID), types.ErrorKey(ErrorKey4))
Rule5CompositeID = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule5ID), types.ErrorKey(ErrorKey5))
Rule1CompositeID, _ = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule1ID), types.ErrorKey(ErrorKey1))
Rule2CompositeID, _ = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule2ID), types.ErrorKey(ErrorKey2))
Rule3CompositeID, _ = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule3ID), types.ErrorKey(ErrorKey3))
Rule4CompositeID, _ = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule4ID), types.ErrorKey(ErrorKey4))
Rule5CompositeID, _ = generators.GenerateCompositeRuleID(types.RuleFQDN(Rule5ID), types.ErrorKey(ErrorKey5))
// Rule1 contains metainformation about rule with key NODE_INSTALLER_DEGRADED
Rule1 = types.Rule{
Module: Rule1ID,
Expand Down

0 comments on commit a6a764d

Please sign in to comment.