harbr 0.0.53 → 0.0.54
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 +4 -4
- data/exe/harbr +4 -1
- data/lib/harbr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c72f092f106eee7e3d9813a1f3241e24b7e7d400d39b3b8cb11cfc22694f62b
|
|
4
|
+
data.tar.gz: d84bd5f2dce487ddca5ddf42ad39225738247720cdf4a8d45642fee0ddf59a45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e69c411c6285d3ec89df9a7648f45b0a3ec13dfb42ec65ccd118c2c4b6195bea73e558861873086fd4dacd624e35480158a3b161ba6b66dc57cc8c073a41f0f4
|
|
7
|
+
data.tar.gz: 644d918bd7dd57621758fa537c081b7e615e08cef64812c74ae1f648b57cf4c191044d302801d4aa43beff1921b3ec7e38821c2e0147ddb1546f8c42febc75ec
|
data/exe/harbr
CHANGED
|
@@ -135,8 +135,11 @@ class HarbrCLI < Thor
|
|
|
135
135
|
|
|
136
136
|
desc "logs CONTAINER", "Show logs for a given container"
|
|
137
137
|
def logs(container)
|
|
138
|
+
|
|
139
|
+
container_repo = Harbr::Container::Repository.new
|
|
140
|
+
container = container_repo.find_by_name(container)
|
|
138
141
|
if container == "container"
|
|
139
|
-
exec "tail -f /var/
|
|
142
|
+
exec "tail -f /var/log/harbr/#{container}/current"
|
|
140
143
|
else
|
|
141
144
|
puts "Container not recognized"
|
|
142
145
|
end
|
data/lib/harbr/version.rb
CHANGED