Refactor preinstall/postinstall methods in the helm installer

This commit is contained in:
Chris Baumbauer 2018-11-06 12:00:16 -08:00
parent c6585220b5
commit 008126a878

View file

@ -53,15 +53,11 @@ module Gitlab
end
def preinstall_command
unless preinstall.nil?
preinstall.join("\n")
end
preinstall.join("\n") unless preinstall.nil?
end
def postinstall_command
unless postinstall.nil?
postinstall.join("\n")
end
postinstall.join("\n") unless postinstall.nil?
end
def install_command_flags