diff options
Diffstat (limited to 'compose/export-ports.sh')
-rwxr-xr-x | compose/export-ports.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compose/export-ports.sh b/compose/export-ports.sh index 5d64e1f9..701449e0 100755 --- a/compose/export-ports.sh +++ b/compose/export-ports.sh @@ -19,13 +19,12 @@ if $(docker images | grep -q "onap\/policy-api") then - CONTAINER_LOCATION=$( + export CONTAINER_LOCATION=$( docker images | grep onap/policy-api | head -1 | sed 's/onap\/policy-api.*$//' ) - export CONTAINER_LOCATION else export CONTAINER_LOCATION="nexus3.onap.org:10001/" fi |