broadside 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/broadside/command.rb +7 -1
- data/lib/broadside/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc7c5e27460dcaa89e814ebd4d4ed182d0621e55
|
4
|
+
data.tar.gz: e1854045b97ca7b25eb17efb8fe8ce3b3cfc21f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a5ceee9eca2a326c375b1cfed70dfbe28d5ad2704c0ba6433ee2a6d819eb1394a6242bce1003f6005ec29f5a270d0bb450d61e06846094441afe516de2ecff5
|
7
|
+
data.tar.gz: 65dced59ea804ea74bf75b906978d5692bbc820f426c327d3182ac7bbe5d3fb4b5cd1d80f6341865570b6382966b1af1d9dfe457ee7d9663013589069ef37212
|
data/CHANGELOG.md
CHANGED
data/lib/broadside/command.rb
CHANGED
@@ -119,7 +119,13 @@ module Broadside
|
|
119
119
|
|
120
120
|
def get_running_instance_ip!(target, instance_index = 0)
|
121
121
|
EcsManager.check_service_and_task_definition_state!(target)
|
122
|
-
EcsManager.get_running_instance_ips!(target.cluster, target.family)
|
122
|
+
running_instances = EcsManager.get_running_instance_ips!(target.cluster, target.family)
|
123
|
+
|
124
|
+
begin
|
125
|
+
running_instances.fetch(instance_index)
|
126
|
+
rescue IndexError
|
127
|
+
raise Error, "There are only #{running_instances.size} instances; index #{instance_index} does not exist"
|
128
|
+
end
|
123
129
|
end
|
124
130
|
|
125
131
|
def docker_ps_cmd(family)
|
data/lib/broadside/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: broadside
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Leung
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-07-
|
12
|
+
date: 2017-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|