Skip to content

Commit

Permalink
chore: remove podmanListImages telemetry
Browse files Browse the repository at this point in the history
Stop sending this unused telemetry event.

Fixes podman-desktop#9465.

Signed-off-by: Tim deBoer <[email protected]>
  • Loading branch information
deboer-tim committed Oct 21, 2024
1 parent 14075a7 commit 14f8da6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/main/src/plugin/container-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ImageInfo[]> {
const telemetryOptions = {};

// This gets all the available providers if no provider has been specified
let providers: InternalContainerProvider[];
if (options?.provider === undefined) {
Expand Down Expand Up @@ -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<void> {
Expand Down

0 comments on commit 14f8da6

Please sign in to comment.