Skip to content

Commit

Permalink
fix go_service
Browse files Browse the repository at this point in the history
  • Loading branch information
cre4ture committed Jul 30, 2024
1 parent 99d10ec commit e2523ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/go_service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"log"

"github.com/sirupsen/logrus"
"github.com/slackhq/nebula/config"
"github.com/slackhq/nebula/service"
)
Expand Down Expand Up @@ -58,7 +59,8 @@ pki:
if err := config.LoadString(configStr); err != nil {
return err
}
service, err := service.New(&config)
l := logrus.New()
service, err := service.New(&config, l)
if err != nil {
return err
}
Expand Down

0 comments on commit e2523ca

Please sign in to comment.