Skip to content

Commit 2d52e40

Browse files
authored
Merge pull request #1072 from snyk/fix/trim_DeploymentConfig
[RUN-2214] trim DeploymentConfig on delete
2 parents f94af6b + 5d3af3f commit 2d52e40

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/supervisor/watchers/handlers/deployment-config.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {
1616
import { retryKubernetesApiRequest } from '../../kuberenetes-api-wrappers';
1717
import { logger } from '../../../common/logger';
1818
import { deleteWorkloadFromScanQueue } from './queue';
19+
import { trimWorkload } from '../../workload-sanitization';
1920

2021
export async function paginatedNamespacedDeploymentConfigList(
2122
namespace: string,
@@ -213,8 +214,3 @@ export async function isClusterDeploymentConfigSupported(): Promise<boolean> {
213214
return false;
214215
}
215216
}
216-
function trimWorkload(
217-
deploymentConfig: V1DeploymentConfig,
218-
): V1DeploymentConfig {
219-
throw new Error('Function not implemented.');
220-
}

0 commit comments

Comments
 (0)