docker-armada 2.11.2 → 2.12.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd521b7665d0bc23ee295f670702cf4ff42c0741
4
- data.tar.gz: 5fb382d231fc0e3d8f0e2a4221dbba6c68119fa9
3
+ metadata.gz: 47c6a134ac2db6fadcd7028384e7d3086fae892e
4
+ data.tar.gz: a988ae753d0eadbd9a3e883acab463fed45fd3f3
5
5
  SHA512:
6
- metadata.gz: 4e3fd6576ef1c570da8f667e3f633594ab3657a537a509244b23864e445005d6a6ca908dd320df4314e0a754ab9b1f202f36e0e800cb01723d74dc8ed61a4799
7
- data.tar.gz: f43a2b30c789d2cca95e7efec04106681e39665be2c57d695374f72f044399ef2929d18b98f5938e2b2cd2edf6faa3dc2d7bf777633296eea3669cc78014657d
6
+ metadata.gz: 06011559d5510f6df1781edc29ee04c025fd093cabce5693f418537f96ed6923fff12a7bf4d612d47f4b4bea5f180ae47a8b0b6f6d5041b54159d5456eb705c3
7
+ data.tar.gz: b0f5e0c08cdc47c91d69cd19c8c3876496f6dc0d4506202e1050f4c813eb6bb87276c05ae3be6666953cfdf2abf9b03f04eec503fbd63b4943bd31098ab2ad07
@@ -22,6 +22,8 @@ module Armada
22
22
  health_check_host = host[:health_check_host]
23
23
  end
24
24
 
25
+ options[:hostname] ||= health_check_host
26
+
25
27
  docker_host = Armada::Host.create(docker_host_connect_string, options)
26
28
  image = docker_host.get_image @options[:image], @options[:tag], @options
27
29
  image.pull
@@ -31,6 +31,8 @@ module Armada
31
31
  health_check_host = host[:health_check_host]
32
32
  end
33
33
 
34
+ options[:hostname] ||= health_check_host
35
+
34
36
  docker_host = Armada::Host.create(docker_host_connect_string, options)
35
37
  image = docker_host.get_image @options[:image], @options[:tag], @options
36
38
  container = Armada::Container.new(image, docker_host, @options)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-armada
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.2
4
+ version: 2.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chauncey
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-03-18 00:00:00.000000000 Z
13
+ date: 2015-03-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: excon