Merge pull request #2734 from dokku/quiet-report-output

Allow quieter report output
This commit is contained in:
Jose Diaz-Gonzalez
2017-04-21 10:33:17 -06:00
committed by GitHub
8 changed files with 8 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP"
dokku_log_info2_quiet "$APP app information"
if (is_deployed "$APP"); then
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"

View File

@@ -93,7 +93,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP ssl information"
dokku_log_info2_quiet "$APP ssl information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"

View File

@@ -32,7 +32,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP checks information"
dokku_log_info2_quiet "$APP checks information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"

View File

@@ -25,7 +25,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP docker options information"
dokku_log_info2_quiet "$APP docker options information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"

View File

@@ -49,7 +49,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP domains information"
dokku_log_info2_quiet "$APP domains information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"

View File

@@ -27,7 +27,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP proxy information"
dokku_log_info2_quiet "$APP proxy information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"

View File

@@ -46,7 +46,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP"
dokku_log_info2_quiet "$APP process information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"

View File

@@ -25,7 +25,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP storage information"
dokku_log_info2_quiet "$APP storage information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"