Skip to content

Commit 754d0fc

Browse files
committed
fix update not working one-way
1 parent adc4129 commit 754d0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ec2/explorer/ec2InstanceNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class Ec2InstanceNode extends AWSTreeNodeBase implements AWSResourceNode
4545
}
4646

4747
public isPending(): boolean {
48-
return this.getStatus() == 'pending'
48+
return this.getStatus() != 'running' && this.getStatus() != 'stopped'
4949
}
5050

5151
public async updateStatus() {

0 commit comments

Comments
 (0)