|
|
@ -1874,7 +1874,18 @@ case "$action" in |
|
|
|
;; |
|
|
|
*) |
|
|
|
if is_service_action=$(has_service_action "${action_posargs[0]}" "$action"); then |
|
|
|
debug "Found action $DARKCYAN$action$NORMAL in service $DARKYELLOW${action_posargs[0]}$NORMAL" |
|
|
|
{ |
|
|
|
read-0 action_type |
|
|
|
case "$action_type" in |
|
|
|
"relation") |
|
|
|
read-0 _ target_service relation_name |
|
|
|
debug "Found action $DARKYELLOW${action_posargs[0]}$NORMAL/$DARKBLUE$relation_name$NORMAL/$DARKCYAN$action$NORMAL (in $DARKYELLOW$target_service$NORMAL)." |
|
|
|
;; |
|
|
|
"direct") |
|
|
|
debug "Found action $DARKYELLOW${action_posargs[0]}$NORMAL.$DARKCYAN$action$NORMAL." |
|
|
|
;; |
|
|
|
esac |
|
|
|
} < <(has_service_action "${action_posargs[0]}" "$action") |
|
|
|
services="${action_posargs[0]}" |
|
|
|
else |
|
|
|
services="$(get_default_target_services "${action_posargs[@]}")" |
|
|
|