Skip to content

Commit

Permalink
fix(gossl):invalid memory address or nil pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
luckymrwang authored and cfc4n committed Jan 6, 2023
1 parent 80f0dbc commit 73808b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user/module/probe_gossl.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type GoSSLProbe struct {

func (this *GoSSLProbe) Init(ctx context.Context, l *log.Logger, cfg config.IConfig) error {
this.Module.Init(ctx, l, cfg)
this.conf = cfg
this.Module.SetChild(this)

this.path = cfg.(*config.GoSSLConfig).Path
Expand Down

0 comments on commit 73808b5

Please sign in to comment.