Skip to content

Commit 26f71be

Browse files
committed
manually insert copy
1 parent 86da344 commit 26f71be

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/core/src/awsService/ec2/explorer/ec2ParentNode.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ export class Ec2ParentNode extends AWSTreeNodeBase {
4747
}
4848
this.pollingSet.start(instanceId)
4949
}
50+
// Temporary inserted copy
51+
public trackPendingNode2(instanceId: string) {
52+
if (!this.ec2InstanceNodes.has(instanceId)) {
53+
throw new Error(`Attempt to track ec2 node ${instanceId} that isn't a child`)
54+
}
55+
this.pollingSet.start(instanceId)
56+
}
5057

5158
public async updateChildren(): Promise<void> {
5259
const ec2Instances = await (await this.ec2Client.getInstances()).toMap((instance) => instance.InstanceId)

0 commit comments

Comments
 (0)