feat: add service-specific header to info call

This commit is contained in:
Jose Diaz-Gonzalez
2020-03-20 15:59:03 -04:00
parent e5862de232
commit 856e0eec4b

View File

@@ -394,7 +394,7 @@ service_info() {
"--version: $(service_version "$SERVICE")"
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "Container Information"
dokku_log_info2 "$SERVICE $PLUGIN_COMMAND_PREFIX service information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"