fix: ensure certs:info doesn’t output error information when ssl files are missing

This commit is contained in:
Jose Diaz-Gonzalez
2017-02-20 16:50:38 -07:00
parent dcb88226b5
commit 507ae1de33

View File

@@ -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): "