From 0f5bb091609fa9314d7310000cb9e112ff4b0dcd Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 2 Feb 2016 09:10:05 +0700 Subject: [PATCH] new: dev: inheritance is like going up a relation, no need to double it. --- bin/compose | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/compose b/bin/compose index 00be668..0b843e7 100755 --- a/bin/compose +++ b/bin/compose @@ -1241,10 +1241,11 @@ has_service_action () { fi 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