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

Commit

Permalink
Merge pull request #48 from isibeni/patch-1
Browse files Browse the repository at this point in the history
Fix usage example
  • Loading branch information
cpuguy83 authored Aug 10, 2022
2 parents 222ac08 + 51c17a9 commit 9ec37a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
log.L = logruslogger.FromLogrus(logrus.NewEntry(logger))
logConfig := &logruscli.Config{LogLevel: "info"}

node, err := cli.New(
node, err := cli.New(ctx,
cli.WithProvider("demo", func(cfg provider.InitConfig) (provider.Provider, error) {
return nil, errors.New("your implementation goes here")
}),
Expand Down

0 comments on commit 9ec37a4

Please sign in to comment.