From 4b41963a347c14c9a13fe849d3116bdf603c73e4 Mon Sep 17 00:00:00 2001 From: Kim Schaefer Date: Wed, 30 Oct 2024 12:04:44 -0600 Subject: [PATCH] removed duplicate code --- src/lib/mutate-request.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/mutate-request.ts b/src/lib/mutate-request.ts index 4dc8da72b..655cc3bcc 100644 --- a/src/lib/mutate-request.ts +++ b/src/lib/mutate-request.ts @@ -5,14 +5,6 @@ import { AdmissionRequest, DeepPartial } from "./types"; import { Operation } from "./enums"; import { KubernetesObject } from "kubernetes-fluent-client"; import { clone, mergeDeepRight } from "ramda"; -import { Logger } from "pino"; -import { GenericClass } from "kubernetes-fluent-client"; - -// MutateAction type for handling mutation callbacks -export type MutateAction> = ( - req: PeprMutateRequest, - logger?: Logger, -) => Promise | void | Promise> | PeprMutateRequest; // PeprMutateRequest class for mutation request handling export class PeprMutateRequest {