Fix the doc string of GetOldObject func

Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>

Kubernetes-commit: f79c00e8ff43b80a7fb294341027428f01e9f036
This commit is contained in:
ialidzhikov 2021-10-28 17:03:18 +03:00 committed by Kubernetes Publisher
parent 16ecd36eca
commit 5832006292
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