kanmon 0.9.1 → 0.9.2

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: de727c95fe939c2d4b463f9f7d5e85e1480ea32121dbabf318930ff9a7030076
4
- data.tar.gz: efa98ec5f38d85065cb63378172c4031ca2565460be170fcb4bf0f95308c3269
3
+ metadata.gz: fa646efa8aa1a5303f6c82ea6a3761083dcdab1fe4fb97a514bbe9d554e3473c
4
+ data.tar.gz: 24ebc7c05ee082d5b2c070fd2b8d218f64a9ceead4e79a68d94088a4c46f880c
5
5
  SHA512:
6
- metadata.gz: e7196074249845679067575d9b7a82689dfc5ff35f1ced469d8e6e25bdac41d6fee749bb58eab73e1e9885cfcddb97b225bdc97a88bbbe4e7808455599f7d98d
7
- data.tar.gz: 383e6520b153bad46038cd1503e95bbba153fd574fb294b0ee441b08ad1e23de94415e7a90d658a2edd0808593dbfa6af2221ac1550d4ab2b11fd030d7a92580
6
+ metadata.gz: 562b499f006c4435c2fae4dd8ba002bf1b89e10209fc3b3627812fddbd17f7d9568839b561d7d97d48a471a770236d7a5542ace4d90a0d133c5d4b5d56241aae
7
+ data.tar.gz: f977e1f2845a00ca009757e7c61acadb75d6798c4caa9cb94168fe9e5bcec37f4fe3fbb5af5b94c2d4d6d0c417bb17b4d2d9138849faee0b20e01845898e46fe
data/lib/kanmon/server.rb CHANGED
@@ -67,7 +67,11 @@ module Kanmon
67
67
  begin
68
68
  result = Yao::SecurityGroup.find_by_name(sg_name)
69
69
  if @sg = result.first
70
- remove_sg
70
+ begin
71
+ remove_sg
72
+ rescue Yao::ItemNotFound
73
+ puts "instance not found"
74
+ end
71
75
  delete_sg
72
76
  end
73
77
  rescue => e
@@ -1,3 +1,3 @@
1
1
  module Kanmon
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanmon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuki Koya
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-05 00:00:00.000000000 Z
11
+ date: 2020-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yao