Skip to content

Commit

Permalink
[gantry] Add debug logs about filters
Browse files Browse the repository at this point in the history
  • Loading branch information
shizunge committed Sep 29, 2024
1 parent 4f027be commit fb226cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib-gantry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,9 @@ gantry_get_services_list() {
local SERVICES_EXCLUDED="${GANTRY_SERVICES_EXCLUDED:-""}"
local SERVICES_EXCLUDED_FILTERS="${GANTRY_SERVICES_EXCLUDED_FILTERS:-"label=gantry.services.excluded=true"}"
local SERVICES_FILTERS="${GANTRY_SERVICES_FILTERS:-""}"
[ -n "${SERVICES_EXCLUDED}" ] && log DEBUG "SERVICES_EXCLUDED=${SERVICES_EXCLUDED}"
[ -n "${SERVICES_EXCLUDED_FILTERS}" ] && log DEBUG "SERVICES_EXCLUDED_FILTERS=${SERVICES_EXCLUDED_FILTERS}"
[ -n "${SERVICES_FILTERS}" ] && log DEBUG "SERVICES_FILTERS=${SERVICES_FILTERS}"
local SERVICES=
if ! SERVICES=$(_get_services_filted "${SERVICES_FILTERS}"); then
return 1
Expand Down

0 comments on commit fb226cc

Please sign in to comment.