Skip to content

Commit 2d54dfe

Browse files
committed
Merge pull request kubernetes#2153 from mfojtik/fix_godoc
Fixed wrong godoc for pkg/config methods
2 parents e8dbcaf + 581de15 commit 2d54dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
// ClientFunc returns the RESTClient defined for given resource
2727
type ClientFunc func(mapping *meta.RESTMapping) (*client.RESTClient, error)
2828

29-
// ApplyItems creates bulk of resources provided by items list. Each item must
29+
// CreateObjects creates bulk of resources provided by items list. Each item must
3030
// be valid API type. It requires ObjectTyper to parse the Version and Kind and
3131
// RESTMapper to get the resource URI and REST client that knows how to create
3232
// given type
@@ -59,7 +59,7 @@ func CreateObjects(typer runtime.ObjectTyper, mapper meta.RESTMapper, clientFor
5959
return allErrors.Prefix("Config")
6060
}
6161

62-
// Apply creates the obj using the provided clients and the resource URI
62+
// CreateObject creates the obj using the provided clients and the resource URI
6363
// mapping. It reports ValidationError when the object is missing the Metadata
6464
// or the Name and it will report any error occured during create REST call
6565
func CreateObject(client *client.RESTClient, mapping *meta.RESTMapping, obj runtime.Object) *errs.ValidationError {

0 commit comments

Comments
 (0)