|
|
@ -3604,6 +3604,7 @@ _run_service_action_relation() { |
|
|
|
print_syntax_error "$FUNCNAME: too many arguments in action descriptor" |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
RELATION_DATA_FILE=$(get_relation_data_file "$service" "$target_service" "$relation_name" "$relation_config") || return 1 |
|
|
|
|
|
|
|
export action_errlvl_file="$state_tmpdir/action-$service-$charm-$action-errlvl" |
|
|
|
export state_tmpdir |
|
|
@ -3615,6 +3616,7 @@ _run_service_action_relation() { |
|
|
|
export RELATION_TARGET_CHARM="$target_charm" |
|
|
|
export RELATION_BASE_SERVICE="$service" |
|
|
|
export RELATION_BASE_CHARM="$charm" |
|
|
|
export RELATION_DATA_FILE="$RELATION_DATA_FILE" |
|
|
|
export ACTION_NAME=$action |
|
|
|
export ACTION_SCRIPT_PATH="$action_script_path" |
|
|
|
export CONTAINER_NAME=$(get_top_master_service_for_service "$service") |
|
|
|