kontena-cli 0.6.0 → 0.6.1

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: 7da42d25b33946f8887d78d4c1e966ddce0836d4
4
- data.tar.gz: 9cc5dbbd4eae20285b82d9c06a790560deface6c
3
+ metadata.gz: fd8dd1a2fac72b1e4ff7a2673d263d519bc757b0
4
+ data.tar.gz: ad06dce5bdb05a6f050710fe90d861d6978cc271
5
5
  SHA512:
6
- metadata.gz: 3375614c89cd186046754ae837082edb85c894dabf54ec97ac35a45281f16c173490889ac814bf503e8211baf904b358717707a377f15702e0356bc05388c30e
7
- data.tar.gz: 967ee20ab75a338ae4a6ca872b193a3fe8087d79c1c20d56a6f9b72cab1f0fa80a131af6f84e34992fe64ddb3b88277345fa05b1a586e0ec65632253bdc1c404
6
+ metadata.gz: 69982d2741ba6644c9fc26e697937ffc1fca9e832ea5d8181ed40cfc3c5c79c05d68613035c8e1acdfe59b79089e04a3c51b9872cea1b3f80be9ad38a1e1ee14
7
+ data.tar.gz: c425be0997e31e8d84c2523ead66fbde8ba732d8155b3ea3147292051204df9182a65e6211aa80602f20c34f69333070a2a5940dd1ef274f671f890e73ebac82
@@ -11,7 +11,9 @@ module Kontena::Cli::Containers
11
11
 
12
12
  payload = {cmd: ['sh', '-c', cmd]}
13
13
  result = client(token).post("containers/#{container_id}/exec", payload)
14
- puts result
14
+ puts result[0].join(" ") unless result[0].size == 0
15
+ STDERR.puts result[1].join(" ") unless result[1].size == 0
16
+ exit result[2]
15
17
  end
16
18
  end
17
19
  end
@@ -1,5 +1,5 @@
1
1
  module Kontena
2
2
  module Cli
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
4
4
  end
5
5
  end
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: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kontena, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-25 00:00:00.000000000 Z
11
+ date: 2015-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler