From 14f8da6df01a5824a130f60c43c4c3f152cc477a Mon Sep 17 00:00:00 2001 From: Tim deBoer Date: Fri, 18 Oct 2024 12:20:17 -0400 Subject: [PATCH] chore: remove podmanListImages telemetry Stop sending this unused telemetry event. Fixes #9465. Signed-off-by: Tim deBoer --- packages/main/src/plugin/container-registry.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/main/src/plugin/container-registry.ts b/packages/main/src/plugin/container-registry.ts index 298dfe0ffe152..1905567249efe 100644 --- a/packages/main/src/plugin/container-registry.ts +++ b/packages/main/src/plugin/container-registry.ts @@ -598,8 +598,6 @@ export class ContainerProviderRegistry { // Podman list images will prefer to use libpod API of the provider // before falling back to using the regular API async podmanListImages(options?: PodmanListImagesOptions): Promise { - const telemetryOptions = {}; - // This gets all the available providers if no provider has been specified let providers: InternalContainerProvider[]; if (options?.provider === undefined) { @@ -664,10 +662,7 @@ export class ContainerProviderRegistry { }), ); - const flattenedImages = images.flat(); - this.telemetryService.track('podmanListImages', { total: flattenedImages.length, ...telemetryOptions }); - - return flattenedImages; + return images.flat(); } async pruneImages(engineId: string): Promise {