From ef5163434e9377b3e2d66260e05fa452d5cc17ce Mon Sep 17 00:00:00 2001 From: Keegan Irby Date: Tue, 15 Oct 2024 14:26:18 -0700 Subject: [PATCH] Change implementation of LiveTailRegistry to standard map --- .../registry/liveTailSessionRegistry.ts | 16 +------ .../registry/liveTailRegistry.test.ts | 48 +------------------ 2 files changed, 3 insertions(+), 61 deletions(-) diff --git a/packages/core/src/awsService/cloudWatchLogs/registry/liveTailSessionRegistry.ts b/packages/core/src/awsService/cloudWatchLogs/registry/liveTailSessionRegistry.ts index 1c8484bfbb1..4e23b3cbe6f 100644 --- a/packages/core/src/awsService/cloudWatchLogs/registry/liveTailSessionRegistry.ts +++ b/packages/core/src/awsService/cloudWatchLogs/registry/liveTailSessionRegistry.ts @@ -5,10 +5,8 @@ import * as vscode from 'vscode' import { CLOUDWATCH_LOGS_LIVETAIL_SCHEME } from '../../../shared/constants' import { LiveTailSession, LiveTailSessionConfiguration } from './liveTailSession' -import { ToolkitError } from '../../../shared' -import { NestedMap } from '../../../shared/utilities/map' -export class LiveTailSessionRegistry extends NestedMap { +export class LiveTailSessionRegistry extends Map { static #instance: LiveTailSessionRegistry public static get instance() { @@ -18,18 +16,6 @@ export class LiveTailSessionRegistry extends NestedMap liveTailSessionRegistry.default) - }) -}) - describe('LiveTailSession URI', async function () { const testLogGroupName = 'test-log-group' const testRegion = 'test-region'