Skip to content

Commit

Permalink
fix: init nssf context with wrong function
Browse files Browse the repository at this point in the history
  • Loading branch information
yccodr committed May 9, 2024
1 parent 4488ffb commit 7f4cf20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/service/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type NssfApp struct {
var _ app.NssfApp = &NssfApp{}

func NewApp(cfg *factory.Config, tlsKeyLogPath string) (*NssfApp, error) {
nssf_context.Init()
nssf_context.InitNssfContext()

nssf := &NssfApp{cfg: cfg, wg: sync.WaitGroup{}, nssfCtx: nssf_context.GetSelf()}
nssf.SetLogEnable(cfg.GetLogEnable())
Expand Down

0 comments on commit 7f4cf20

Please sign in to comment.