Refactor preinstall/postinstall methods in the helm installer
This commit is contained in:
parent
c6585220b5
commit
008126a878
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue