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

Fix the doc string of GetOldObject func
This commit is contained in:
Kubernetes Prow Robot 2022-01-04 09:45:04 -08:00 committed by GitHub
commit dafb3f5eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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