seiton 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39b7e9ace75ea8a043e1fb37a7e38c932cee67a200da207c6fa436ade1b7fa8a
4
- data.tar.gz: e013585b389fe0da300039dee1f894082825ce9b01483eb35cf41d9d3f9d2859
3
+ metadata.gz: bfa987c327a26a6b36e5de1c0e88c4c29c6463855253559954e71998040ff13e
4
+ data.tar.gz: '09697cbfb9a2f95ae5a28b4b2aa65799b38038a5ee49ebdcfd17b884ca68cdec'
5
5
  SHA512:
6
- metadata.gz: 6e68a105ead395cd8e7ecb39c577c67f761548e9ad08882feecdf4fb2a65932ecd2d3a54d1591f4d6c08a5264bd9abd7ffa7d329aa48d8920cdfadbb0778296e
7
- data.tar.gz: ccb2ab88627ced7be15f1e3bb10a9cbf19e5278db9d9f03303097109e010d81918c8a4fbf8faf1abed743a67947227192fcb5cf7b8f36ff391754b36119f8575
6
+ metadata.gz: d5ec8973038887ef30e0ca987813a3306fb2e86710e95df11e7ed1ff1c878048e8fe8bb20c292d5859fd8079debd8f27ac8dabb36dc8292c480768264ca540a3
7
+ data.tar.gz: 1c5a9d41177a879adfa4bf53ec0a3ffd69c68f45db76d2a83b835982281840c24e0ff2aa2169714a7822dd7e1a8e698411972c7a02c964d77b0619f06027a4d1
@@ -95,7 +95,7 @@ def ignore_resource?(resource)
95
95
  return r, deleted, not_deleted
96
96
  end
97
97
 
98
- def check_ec2_snapshots(resouces)
98
+ def check_ebs_snapshots(resouces)
99
99
  resouces.each do |resouce|
100
100
  r, deleted, not_deleted = ignore_resource?(resouce)
101
101
  begin
@@ -211,7 +211,7 @@ module Seiton
211
211
  if process_ok?
212
212
  begin
213
213
  delete_snapshots.each do |s|
214
- delete_snapshot_ids << s.snaphost_id
214
+ delete_snapshot_action(s.snapshot_id)
215
215
  end
216
216
  rescue StandardError => e
217
217
  log.error(e)
@@ -220,8 +220,6 @@ module Seiton
220
220
  else
221
221
  exit 0
222
222
  end
223
-
224
- ebs_snapshot(delete_image_ids)
225
223
  end
226
224
 
227
225
  def ebs_snapshot(delete_image_ids)
@@ -1,3 +1,3 @@
1
1
  module Seiton
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seiton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - inokappa