From 583200629270cc4be2deb88d9e5e0b519aee66fd 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 Kubernetes-commit: f79c00e8ff43b80a7fb294341027428f01e9f036 --- pkg/admission/interfaces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/admission/interfaces.go b/pkg/admission/interfaces.go index 8882680b2..ba979c973 100644 --- a/pkg/admission/interfaces.go +++ b/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