Merge pull request #105976 from ialidzhikov/fix/doc-string

Fix the doc string of GetOldObject func

Kubernetes-commit: dafb3f5eb20ac8cbd98e2f835bf9054229889ca4
This commit is contained in:
Kubernetes Publisher 2022-01-04 09:45:04 -08:00
commit 2a0c1817b8
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ type Attributes interface {
IsDryRun() bool
// GetObject is the object from the incoming request prior to default values being applied
GetObject() runtime.Object
// GetOldObject is the existing object. Only populated for UPDATE requests.
// GetOldObject is the existing object. Only populated for UPDATE and DELETE requests.
GetOldObject() runtime.Object
// GetKind is the type of object being manipulated. For example: Pod
GetKind() schema.GroupVersionKind