server-control-s3 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -511,7 +511,8 @@ function _updateGroup(req, res) {
511
511
  (done) => {
512
512
  let group_err;
513
513
  asyncEach(group_data.instance_list, (instance, done) => {
514
- if (instance.InstanceId === group_data.InstanceId) {
514
+ if (instance.InstanceId === group_data.InstanceId ||
515
+ instance.State?.Name !== 'running') {
515
516
  done();
516
517
  }
517
518
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "server-control-s3",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "author": {
5
5
  "name": "Jim Lake"
6
6
  },