Browse Source

Handle aws instances that are down

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
cc47ad9e6c
  1. 1
      lib/aws.js

1
lib/aws.js

@ -12,6 +12,7 @@
allInstances = allInstances.concat(res.Instances);
});
return allInstances.filter(function (reservation) {
if (reservation.State.Name !== "running") return false;
return reservation.Tags.some(function (t) {
return t.Key == tagKey && t.Value == tagValue;
});

Loading…
Cancel
Save