File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,14 @@ function get_cloudsql_id() {
2727function get_stack_for_namespace_component() {
2828 local namespace=$1
2929 local component=$2
30- local internal=$3
3130
3231 local stack=""
3332 if [[ "${namespace}" =~ sv.* ]]; then
34- if [[ "${component}" == "participant" && "${internal}" != "true" ]]; then
33+ if [[ "${component}" == "participant" ]]; then
3534 stack="sv-canton"
36- elif [[ "${component}" == "sequencer" && "${internal}" != "true" ]]; then
35+ elif [[ "${component}" == "sequencer" ]]; then
3736 stack="sv-canton"
38- elif [[ "${component}" == "mediator" && "${internal}" != "true" ]]; then
37+ elif [[ "${component}" == "mediator" ]]; then
3938 stack="sv-canton"
4039 else
4140 stack="canton-network"
@@ -51,11 +50,9 @@ create_component_instance() {
5150 local component="$1"
5251 local migration_id="$2"
5352 local namespace="$3"
54- local internal="$4"
5553
5654 if [[ ("$component" == "sequencer" || "$component" == "mediator" || "$component" == "participant")
57- && ("$namespace" != "splitwell" && "$namespace" != "validator1" && "$namespace" != "sv")
58- && ("$internal" != "true") ]]; then
55+ && ("$namespace" != "splitwell" && "$namespace" != "validator1" && "$namespace" != "sv"); then
5956 component_instance="${component}-${migration_id}"
6057 else
6158 component_instance="${component}"
You can’t perform that action at this time.
0 commit comments