From 507ae1de331c640dc28afa5898e7126383c012c5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 20 Feb 2017 16:50:38 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20ensure=20certs:info=20doesn=E2=80=99t=20?= =?UTF-8?q?output=20error=20information=20when=20ssl=20files=20are=20missi?= =?UTF-8?q?ng?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/certs/internal-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/certs/internal-functions b/plugins/certs/internal-functions index 3e319812b..a225ae6d7 100755 --- a/plugins/certs/internal-functions +++ b/plugins/certs/internal-functions @@ -12,7 +12,7 @@ certs_info_cmd() { local APP="$2" local APP_SSL_PATH="$DOKKU_ROOT/$APP/tls" - if [[ -n "$APP_SSL_PATH" ]]; then + if is_ssl_enabled "$APP"; then dokku_log_info1 "Fetching SSL Endpoint info for $APP..." dokku_log_info1 "Certificate details:" dokku_log_info2 "Common Name(s): "