Commit 70d8ccf8 authored by Valery Sizov's avatar Valery Sizov

[ES] Minor fix

parent 27c85c76
......@@ -23,7 +23,7 @@ module Elastic
output, status = Gitlab::Popen.popen(command, nil, vars)
raise Error, output.join("\n") unless status.zero?
raise Error, output unless status.zero?
true
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment