chore: drop unused code
This commit is contained in:
1 parent
39984980fb
commit
3714a231a9
1 file changed
-3
@@ -88,9 +88,6 @@ generate_scale_file() {
|
|||||||
if [[ ! -f $DOKKU_SCALE_FILE ]]; then
|
if [[ ! -f $DOKKU_SCALE_FILE ]]; then
|
||||||
dokku_log_info1_quiet "DOKKU_SCALE file not found in app image. Generating one based on Procfile..."
|
dokku_log_info1_quiet "DOKKU_SCALE file not found in app image. Generating one based on Procfile..."
|
||||||
|
|
||||||
local GENERATE_SCALE_FILE_TMP_WORK_DIR=$(mktemp -d "/tmp/dokku-${DOKKU_PID}-${FUNCNAME[0]}.XXXXXX")
|
|
||||||
trap "rm -rf '$GENERATE_SCALE_FILE_TMP_WORK_DIR' >/dev/null" RETURN
|
|
||||||
|
|
||||||
if [[ -f $DOKKU_PROCFILE ]]; then
|
if [[ -f $DOKKU_PROCFILE ]]; then
|
||||||
while read -r line || [[ -n "$line" ]]; do
|
while read -r line || [[ -n "$line" ]]; do
|
||||||
if [[ -z "$line" ]] || [[ "$line" == "#"* ]]; then
|
if [[ -z "$line" ]] || [[ "$line" == "#"* ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user