fix: ensure certs:info doesn’t output error information when ssl files are missing
This commit is contained in:
1 parent
dcb88226b5
commit
507ae1de33
1 file changed
+1
-1
@@ -12,7 +12,7 @@ certs_info_cmd() {
|
|||||||
local APP="$2"
|
local APP="$2"
|
||||||
local APP_SSL_PATH="$DOKKU_ROOT/$APP/tls"
|
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 "Fetching SSL Endpoint info for $APP..."
|
||||||
dokku_log_info1 "Certificate details:"
|
dokku_log_info1 "Certificate details:"
|
||||||
dokku_log_info2 "Common Name(s): "
|
dokku_log_info2 "Common Name(s): "
|
||||||
|
|||||||
Reference in new issue
Block a user