2 Commits

  1. 2
      Dockerfile
  2. 11
      bin/compose-core

2
Dockerfile

@ -15,7 +15,7 @@ ENV KAL_SHLIB_ARRAY_VERSION="0.2.0" \
KAL_SHLIB_CACHE_VERSION="0.0.1" \
KAL_SHLIB_CHARM_VERSION="0.5.3" \
KAL_SHLIB_CMDLINE_VERSION="0.0.9" \
KAL_SHLIB_COMMON_VERSION="0.5.1" \
KAL_SHLIB_COMMON_VERSION="0.5.2" \
KAL_SHLIB_CONFIG_VERSION="0.0.2" \
KAL_SHLIB_CORE_VERSION="0.7.0" \
KAL_SHLIB_FIREWALL_VERSION="0.2.0" \

11
bin/compose-core

@ -5680,17 +5680,22 @@ if [ "$action" == "status" ]; then
state_columns_raw=()
for col in "${state_columns[@]}"; do
if [[ "$col" == "-"* ]]; then
col=${col#-}
if [[ "$col" =~ ^[+-] ]]; then
col=${col:1}
fi
state_columns_raw+=("${col//-/_}")
done
state_columns_align=""
for col in "${state_columns[@]}"; do
if [[ "$col" == "-"* ]]; then
state_columns_align+="-"
elif [[ "$col" == "+"* ]]; then
state_columns_align+="+"
else
state_columns_align+="-"
case "${col//_/-}" in
version|upstream-version) state_columns_align+="+";;
*) state_columns_align+="-";;
esac
fi
done

Loading…
Cancel
Save