Skip to content

Commit

Permalink
add missing apx assignment on NewApx
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Jul 9, 2023
1 parent 1409ec0 commit 9dc9baa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion core/apx.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ type Apx struct {
}

func NewApx(cnf *settings.Config) *Apx {
return &Apx{
apx = &Apx{
Cnf: cnf,
}

err := apx.EssentialChecks()
if err != nil {
panic(err)
}

return apx
}

func NewStandardApx() *Apx {
Expand Down

0 comments on commit 9dc9baa

Please sign in to comment.