Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions command-functions
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cmd-letsencrypt-auto-renew() {
while IFS=$'\t' read -r -a appExpiry; do
if [[ ${appExpiry[4]} -lt 0 ]]; then
dokku_log_info1 "${appExpiry[0]} needs renewal"
if ! dokku letsencrypt:enable "${appExpiry[0]}"; then
if ! (fn-letsencrypt-enable "${appExpiry[0]}"); then
EXIT_CODE=1
fi
else
Expand Down Expand Up @@ -74,7 +74,7 @@ cmd-letsencrypt-auto-renew() {

if [[ $time_to_renewal -lt 0 ]]; then
dokku_log_info2 "Auto-renew ${APP}..."
dokku letsencrypt:enable "$APP"
fn-letsencrypt-enable "$APP"
else
days_left=$(fn-letsencrypt-format-timediff $time_to_renewal)
dokku_log_verbose "$APP still has $days_left left before renewal"
Expand Down