|
@ -1241,10 +1241,11 @@ has_service_action () { |
|
|
fi |
|
|
fi |
|
|
done < <(get_compose_relations "$service") |
|
|
done < <(get_compose_relations "$service") |
|
|
|
|
|
|
|
|
master=$(get_top_master_charm_for_service "$charm") |
|
|
|
|
|
[ "$master" == "$charm" ] && return 1 |
|
|
|
|
|
|
|
|
return 1 |
|
|
|
|
|
# master=$(get_top_master_charm_for_service "$charm") |
|
|
|
|
|
# [ "$master" == "$charm" ] && return 1 |
|
|
|
|
|
|
|
|
has_service_action "$master" "$action" |
|
|
|
|
|
|
|
|
# has_service_action "$master" "$action" |
|
|
} |
|
|
} |
|
|
export -f has_service_action |
|
|
export -f has_service_action |
|
|
|
|
|
|
|
|