From f79c00e8ff43b80a7fb294341027428f01e9f036 Mon Sep 17 00:00:00 2001 From: ialidzhikov Date: Thu, 28 Oct 2021 17:03:18 +0300 Subject: [PATCH] Fix the doc string of GetOldObject func Signed-off-by: ialidzhikov --- staging/src/k8s.io/apiserver/pkg/admission/interfaces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/apiserver/pkg/admission/interfaces.go b/staging/src/k8s.io/apiserver/pkg/admission/interfaces.go index 8882680b2c5..ba979c973f1 100644 --- a/staging/src/k8s.io/apiserver/pkg/admission/interfaces.go +++ b/staging/src/k8s.io/apiserver/pkg/admission/interfaces.go @@ -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