diff --git a/pkg/registry/core/pod/strategy.go b/pkg/registry/core/pod/strategy.go index e7ea508d7a4..5e4451233cd 100644 --- a/pkg/registry/core/pod/strategy.go +++ b/pkg/registry/core/pod/strategy.go @@ -143,18 +143,6 @@ func (podStrategy) CheckGracefulDelete(ctx context.Context, obj runtime.Object, return true } -type podStrategyWithoutGraceful struct { - podStrategy -} - -// CheckGracefulDelete prohibits graceful deletion. -func (podStrategyWithoutGraceful) CheckGracefulDelete(ctx context.Context, obj runtime.Object, options *metav1.DeleteOptions) bool { - return false -} - -// StrategyWithoutGraceful implements the legacy instant delete behavior. -var StrategyWithoutGraceful = podStrategyWithoutGraceful{Strategy} - type podStatusStrategy struct { podStrategy }