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 +4 -4
- data/lib/kontena/cli/containers/containers.rb +3 -1
- data/lib/kontena/cli/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: fd8dd1a2fac72b1e4ff7a2673d263d519bc757b0
|
4
|
+
data.tar.gz: ad06dce5bdb05a6f050710fe90d861d6978cc271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/kontena/cli/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|