Skip to content

Commit

Permalink
manually insert copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Hweinstock committed Nov 12, 2024
1 parent 86da344 commit 26f71be
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/core/src/awsService/ec2/explorer/ec2ParentNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ export class Ec2ParentNode extends AWSTreeNodeBase {
}
this.pollingSet.start(instanceId)
}
// Temporary inserted copy
public trackPendingNode2(instanceId: string) {
if (!this.ec2InstanceNodes.has(instanceId)) {
throw new Error(`Attempt to track ec2 node ${instanceId} that isn't a child`)
}
this.pollingSet.start(instanceId)
}

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

0 comments on commit 26f71be

Please sign in to comment.