Skip to content

Commit 5ad533f

Browse files
committed
no stopping/starting on pending instances
1 parent 76eb0fd commit 5ad533f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,22 +1325,22 @@
13251325
{
13261326
"command": "aws.ec2.startInstance",
13271327
"group": "0@1",
1328-
"when": "viewItem =~ /^(awsEc2(Stopped|Pending)Node)$/"
1328+
"when": "viewItem =~ /^(awsEc2StoppedNode)$/"
13291329
},
13301330
{
13311331
"command": "aws.ec2.startInstance",
13321332
"group": "inline@1",
1333-
"when": "viewItem =~ /^(awsEc2(Stopped|Pending)Node)$/"
1333+
"when": "viewItem =~ /^(awsEc2StoppedNode)$/"
13341334
},
13351335
{
13361336
"command": "aws.ec2.stopInstance",
13371337
"group": "0@1",
1338-
"when": "viewItem =~ /^(awsEc2(Running|Pending)Node)$/"
1338+
"when": "viewItem =~ /^(awsEc2RunningNode)$/"
13391339
},
13401340
{
13411341
"command": "aws.ec2.stopInstance",
13421342
"group": "inline@1",
1343-
"when": "viewItem =~ /^(awsEc2(Running|Pending)Node)$/"
1343+
"when": "viewItem =~ /^(awsEc2RunningNode)$/"
13441344
},
13451345
{
13461346
"command": "aws.ec2.rebootInstance",

0 commit comments

Comments
 (0)