diff --git a/testdata/testdata.go b/testdata/testdata.go index b99c1f899..1eb083b89 100644 --- a/testdata/testdata.go +++ b/testdata/testdata.go @@ -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,