Skip to content

Commit

Permalink
Merge pull request #132 from free5gc/fix/processorInterface
Browse files Browse the repository at this point in the history
fix: fix processor interface
  • Loading branch information
ianchen0119 authored Jun 27, 2024
2 parents 4fbee43 + b872ec4 commit e861d37
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/sbi/processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit e861d37

Please sign in to comment.