Further tweaking up the wording

Hopfully improving, based on wojtek's review.

Kubernetes-commit: 59807be5abe6a96aad715823b7bab9fbd5d837bd
This commit is contained in:
Mike Spreitzer
2020-01-10 16:05:41 -05:00
committed by Kubernetes Publisher
parent 4aedce0891
commit d01661091c
4 changed files with 22 additions and 19 deletions

View File

@@ -57,8 +57,8 @@ type Reflector struct {
expectedTypeName string
// An example object of the type we expect to place in the store.
// Only the type needs to be right, except that when that is
// `unstructured.Unstructured` the object's `"apiVersion"` must
// also be right.
// `unstructured.Unstructured` the object's `"apiVersion"` and
// `"kind"` must also be right.
expectedType reflect.Type
// The GVK of the object we expect to place in the store if unstructured.
expectedGVK *schema.GroupVersionKind