Skip to content

Commit c10e3db

Browse files
authored
Merge pull request #433 from valory-xyz/fix/suffix
Fix service id extraction
2 parents 41b9068 + 5716163 commit c10e3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_service.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ directory="$service_dir/$build_dir"
13501350
if [ "$build_dir" = "abci_build" ]; then
13511351
suffix="abci_build"
13521352
else
1353-
suffix=${build_dir##*_}
1353+
suffix=${build_dir#*build_}
13541354
fi
13551355
abci_0="trader${suffix}_abci_0"
13561356
add_volume_to_service_docker_compose "$PWD/$directory/docker-compose.yaml" "$abci_0" "/data" "$path_to_store"

0 commit comments

Comments
 (0)