Style
This commit is contained in:
@@ -39,10 +39,10 @@ class Mrsk::Commands::Accessory < Mrsk::Commands::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def follow_logs(grep: nil)
|
def follow_logs(grep: nil)
|
||||||
run_over_ssh pipe(
|
run_over_ssh \
|
||||||
|
pipe \
|
||||||
docker(:logs, service_name, "-t", "-n", "10", "-f", "2>&1"),
|
docker(:logs, service_name, "-t", "-n", "10", "-f", "2>&1"),
|
||||||
(%(grep "#{grep}") if grep)
|
(%(grep "#{grep}") if grep)
|
||||||
).join(" ")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user