Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 51c17a9

Browse files
authored
Fix usage example
1 parent 222ac08 commit 51c17a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func main() {
3333
log.L = logruslogger.FromLogrus(logrus.NewEntry(logger))
3434
logConfig := &logruscli.Config{LogLevel: "info"}
3535

36-
node, err := cli.New(
36+
node, err := cli.New(ctx,
3737
cli.WithProvider("demo", func(cfg provider.InitConfig) (provider.Provider, error) {
3838
return nil, errors.New("your implementation goes here")
3939
}),

0 commit comments

Comments
 (0)