Commit 008126a8 authored by Chris Baumbauer's avatar Chris Baumbauer

Refactor preinstall/postinstall methods in the helm installer

parent c6585220
...@@ -53,15 +53,11 @@ module Gitlab ...@@ -53,15 +53,11 @@ module Gitlab
end end
def preinstall_command def preinstall_command
unless preinstall.nil? preinstall.join("\n") unless preinstall.nil?
preinstall.join("\n")
end
end end
def postinstall_command def postinstall_command
unless postinstall.nil? postinstall.join("\n") unless postinstall.nil?
postinstall.join("\n")
end
end end
def install_command_flags def install_command_flags
......
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