kontena-cli 1.0.1.rc2 → 1.0.1.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kontena/cli/services/containers_command.rb +4 -4
- 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: 149b7639d14011e1eb74bf197a358eb9f8b4870f
|
4
|
+
data.tar.gz: ba7fa586a6914feb71df40d361a847c21e771d3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3db7f3fa90ec6d60eda0896457b39e2583145a2cb9d7a658f298f95e8b873e2eccccc704ca8d12c148e903cf87153ec4b16038c32c2be4243222c2ecf03b9e0e
|
7
|
+
data.tar.gz: 1d2e74771bff9ac79ea5b3301eb500b8f0932ef018ff82a4454c2db9f6ea2c0dc4ec5906fd2aee6070da0b84125c12f12dae3776bed3ea917b7ad55027dd3ebe
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.1.
|
1
|
+
1.0.1.rc3
|
@@ -12,13 +12,13 @@ module Kontena::Cli::Services
|
|
12
12
|
require_api_url
|
13
13
|
token = require_token
|
14
14
|
|
15
|
-
result = client(token).get("services/#{
|
15
|
+
result = client(token).get("services/#{parse_service_id(name)}/containers")
|
16
16
|
result['containers'].each do |container|
|
17
|
-
puts "#{container['
|
17
|
+
puts "#{container['name']}:"
|
18
18
|
puts " rev: #{container['deploy_rev']}"
|
19
19
|
puts " node: #{container['node']['name']}"
|
20
|
-
puts " dns: #{container['
|
21
|
-
puts " ip: #{container['
|
20
|
+
puts " dns: #{container['hostname']}.#{container['domainname']}"
|
21
|
+
puts " ip: #{container['ip_address']}"
|
22
22
|
puts " public ip: #{container['node']['public_ip']}"
|
23
23
|
if container['status'] == 'unknown'
|
24
24
|
puts " status: #{container['status'].colorize(:yellow)}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontena-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.1.
|
4
|
+
version: 1.0.1.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kontena, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|