Skip to content

Commit

Permalink
polishing
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Andrews <andrewssc@vmware.com>
  • Loading branch information
scothis committed Jul 28, 2023
1 parent ad96ae3 commit a1db4b6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion testing/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ type ExpectConfig struct {
// StatusSubResourceTypes is a set of object types that support the status sub-resource. For
// these types, the only way to modify the resource's status is update or patch the status
// sub-resource. Patching or updating the main resource will not mutated the status field.
// Built-in Kubernetes types are already accounted for and do not need to be listed.
// Built-in Kubernetes types (e.g. Pod, Deployment, etc) are already accounted for and do not
// need to be listed.
//
// Interacting with a status sub-resource for a type not enumerated as having a status
// sub-resource will return a not found error.
Expand Down
3 changes: 2 additions & 1 deletion testing/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ type ReconcilerTestCase struct {
// StatusSubResourceTypes is a set of object types that support the status sub-resource. For
// these types, the only way to modify the resource's status is update or patch the status
// sub-resource. Patching or updating the main resource will not mutated the status field.
// Built-in Kubernetes types are already accounted for and do not need to be listed.
// Built-in Kubernetes types (e.g. Pod, Deployment, etc) are already accounted for and do not
// need to be listed.
//
// Interacting with a status sub-resource for a type not enumerated as having a status
// sub-resource will return a not found error.
Expand Down
3 changes: 2 additions & 1 deletion testing/subreconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ type SubReconcilerTestCase[Type client.Object] struct {
// StatusSubResourceTypes is a set of object types that support the status sub-resource. For
// these types, the only way to modify the resource's status is update or patch the status
// sub-resource. Patching or updating the main resource will not mutated the status field.
// Built-in Kubernetes types are already accounted for and do not need to be listed.
// Built-in Kubernetes types (e.g. Pod, Deployment, etc) are already accounted for and do not
// need to be listed.
//
// Interacting with a status sub-resource for a type not enumerated as having a status
// sub-resource will return a not found error.
Expand Down
3 changes: 2 additions & 1 deletion testing/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ type AdmissionWebhookTestCase struct {
// StatusSubResourceTypes is a set of object types that support the status sub-resource. For
// these types, the only way to modify the resource's status is update or patch the status
// sub-resource. Patching or updating the main resource will not mutated the status field.
// Built-in Kubernetes types are already accounted for and do not need to be listed.
// Built-in Kubernetes types (e.g. Pod, Deployment, etc) are already accounted for and do not
// need to be listed.
//
// Interacting with a status sub-resource for a type not enumerated as having a status
// sub-resource will return a not found error.
Expand Down

0 comments on commit a1db4b6

Please sign in to comment.