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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdcf34433ba7835fede5369afbbc9559c6492924
4
- data.tar.gz: 7d3a2b29b763a1341d72a8ada76584d909073e2c
3
+ metadata.gz: 149b7639d14011e1eb74bf197a358eb9f8b4870f
4
+ data.tar.gz: ba7fa586a6914feb71df40d361a847c21e771d3f
5
5
  SHA512:
6
- metadata.gz: 60ab49c26084f991a866e0c2ef3082f9e22295544c65d2cda645e6cb87cd4a1ec42db4d03a7de2e05516fee07aa507fbbc07d418c069931f519a4b0e4eadbe4a
7
- data.tar.gz: f03d5fed14586662fca3db267152e052db4d92ce7a607c2a08ca80377a0be9b98a1d4cf769adfa876628aee95ff7c012ceae5fb298d3b260dab46e3ae365f0b5
6
+ metadata.gz: 3db7f3fa90ec6d60eda0896457b39e2583145a2cb9d7a658f298f95e8b873e2eccccc704ca8d12c148e903cf87153ec4b16038c32c2be4243222c2ecf03b9e0e
7
+ data.tar.gz: 1d2e74771bff9ac79ea5b3301eb500b8f0932ef018ff82a4454c2db9f6ea2c0dc4ec5906fd2aee6070da0b84125c12f12dae3776bed3ea917b7ad55027dd3ebe
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1.rc2
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/#{current_grid}/#{name}/containers")
15
+ result = client(token).get("services/#{parse_service_id(name)}/containers")
16
16
  result['containers'].each do |container|
17
- puts "#{container['id']}:"
17
+ puts "#{container['name']}:"
18
18
  puts " rev: #{container['deploy_rev']}"
19
19
  puts " node: #{container['node']['name']}"
20
- puts " dns: #{container['name']}.#{current_grid}.kontena.local"
21
- puts " ip: #{container['overlay_cidr'].to_s.split('/')[0]}"
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.rc2
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-08 00:00:00.000000000 Z
11
+ date: 2016-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler