From 3f5dcf6584289bf8941f93fafdbe45db66fdd1ef Mon Sep 17 00:00:00 2001 From: Don Browne Date: Fri, 12 Jul 2024 12:54:01 +0100 Subject: [PATCH] remove unused function --- internal/engine/rtengine/engine.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/engine/rtengine/engine.go b/internal/engine/rtengine/engine.go index 403870f142..647d2b5464 100644 --- a/internal/engine/rtengine/engine.go +++ b/internal/engine/rtengine/engine.go @@ -132,11 +132,6 @@ func (r *RuleTypeEngine) GetRuleInstanceValidator() *profiles.RuleValidator { return r.ruleValidator } -// GetRuleType returns the rule type PB structure. -func (r *RuleTypeEngine) GetRuleType() *minderv1.RuleType { - return r.ruletype -} - // Eval runs the rule type engine against the given entity func (r *RuleTypeEngine) Eval( ctx context.Context,