From 9c6653e24c0ec9f9a75bb6d1bdf2064b69f0325c Mon Sep 17 00:00:00 2001 From: "Apinant.u" <82561297+LoneExile@users.noreply.github.com> Date: Mon, 6 Nov 2023 22:15:39 +0700 Subject: [PATCH] docs: Fix example comment for WithSharedConfigProfile usage (#2350) --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index ef9f753d408..dfe62973221 100644 --- a/config/config.go +++ b/config/config.go @@ -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))