Skip to content

Commit 5564be7

Browse files
authored
✨ Fix some typos (#1312)
* Fix minor typo in client codec Updates resouces to resources in pkg/client noConversionParamCodec. Signed-off-by: hasheddan <[email protected]> * Fix minor listwatch comment typo Updates comment in metatdata listwatch creation to read listwatch instead of listwaatch. Signed-off-by: hasheddan <[email protected]>
1 parent 4dad2a0 commit 5564be7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/cache/internal/informers_map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ func createMetadataListWatch(gvk schema.GroupVersionKind, ip *specificInformersM
320320
// pass in their own contexts instead of relying on this fixed one here.
321321
ctx := context.TODO()
322322

323-
// create the relevant listwaatch
323+
// create the relevant listwatch
324324
return &cache.ListWatch{
325325
ListFunc: func(opts metav1.ListOptions) (runtime.Object, error) {
326326
if ip.namespace != "" && mapping.Scope.Name() != meta.RESTScopeNameRoot {

pkg/client/codec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
var _ runtime.ParameterCodec = noConversionParamCodec{}
1313

1414
// noConversionParamCodec is a no-conversion codec for serializing parameters into URL query strings.
15-
// it's useful in scenarios with the unstructured client and arbitrary resouces.
15+
// it's useful in scenarios with the unstructured client and arbitrary resources.
1616
type noConversionParamCodec struct{}
1717

1818
func (noConversionParamCodec) EncodeParameters(obj runtime.Object, to schema.GroupVersion) (url.Values, error) {

0 commit comments

Comments
 (0)