From a97d63479edf27ef1743e91fb5c1c9ec711854cd Mon Sep 17 00:00:00 2001 From: Daniel Bily Date: Thu, 7 Oct 2021 12:17:50 +0200 Subject: [PATCH] fix wrong function call (dejavu) --- testdata/testdata.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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,