From b872ec4ead35acb693f7ae41ab1e3959159e41d6 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Thu, 27 Jun 2024 05:38:54 +0000 Subject: [PATCH] fix: fix processor interface --- internal/sbi/processor/processor.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/sbi/processor/processor.go b/internal/sbi/processor/processor.go index 1117d8b..bdd6752 100644 --- a/internal/sbi/processor/processor.go +++ b/internal/sbi/processor/processor.go @@ -13,17 +13,11 @@ type ProcessorAmf interface { type Processor struct { ProcessorAmf - consumer *consumer.Consumer } func NewProcessor(amf ProcessorAmf) (*Processor, error) { p := &Processor{ ProcessorAmf: amf, - consumer: amf.Consumer(), } return p, nil } - -func (p *Processor) Consumer() *consumer.Consumer { - return p.consumer -}