From a30bcdc7ce0dffb53361de71f43a6aa69bb04770 Mon Sep 17 00:00:00 2001 From: cndoit18 Date: Tue, 27 Feb 2024 14:35:45 +0800 Subject: [PATCH] docs(filepath): rename NewJsonFileStorageProvider to NewJSONFilepathStorageProvider Signed-off-by: cndoit18 --- pkg/experimental/storage/filepath/jsonfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/experimental/storage/filepath/jsonfile.go b/pkg/experimental/storage/filepath/jsonfile.go index 1021f2c..dcacb55 100644 --- a/pkg/experimental/storage/filepath/jsonfile.go +++ b/pkg/experimental/storage/filepath/jsonfile.go @@ -35,7 +35,7 @@ import ( // // builder.APIServer. // WithResourceAndHandler(&v1alpha1.ExampleResource{}, -// jsonfile.NewJsonFileStorageProvider(&v1alpha1.ExampleResource{}, /*the root file-path*/ "data")). +// jsonfile.NewJSONFilepathStorageProvider(&v1alpha1.ExampleResource{}, /*the root file-path*/ "data")). // Build() func NewJSONFilepathStorageProvider(obj resource.Object, rootPath string) builderrest.ResourceHandlerProvider { return func(scheme *runtime.Scheme, getter generic.RESTOptionsGetter) (rest.Storage, error) {