Skip to content

Commit

Permalink
Merge pull request #30 from HanHongChen/fix/NewProcessorParameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 authored Jul 23, 2024
2 parents 87f04ae + 1127fd8 commit 9dabfef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/sbi/processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Processor struct {
PCF
}

func NewProcessor(pcf PCF, consumer *consumer.Consumer) (*Processor, error) {
func NewProcessor(pcf PCF) (*Processor, error) {
p := &Processor{
PCF: pcf,
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/service/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func NewApp(
pcf.consumer = consumer

// processor
p, err := processor.NewProcessor(pcf, consumer)
p, err := processor.NewProcessor(pcf)
if err != nil {
return pcf, err
}
Expand Down

0 comments on commit 9dabfef

Please sign in to comment.