Skip to content

Commit

Permalink
docs: Fix example comment for WithSharedConfigProfile usage (#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneExile authored Nov 6, 2023
1 parent 71819e8 commit 9c6653e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (cs configs) ResolveConfig(f func(configs []interface{}) error) error {
// or the custom data will be ignored by the resolvers and config loaders.
//
// cfg, err := config.LoadDefaultConfig( context.TODO(),
// WithSharedConfigProfile("test-profile"),
// config.WithSharedConfigProfile("test-profile"),
// )
// if err != nil {
// panic(fmt.Sprintf("failed loading config, %v", err))
Expand Down

0 comments on commit 9c6653e

Please sign in to comment.