aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/get-instance-ip.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-10-23 14:41:21 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-23 14:41:21 +0000
commitab87f69a5dbcecea8b2b4793568a5623e4a714e3 (patch)
treeb7e63d6248400ff7019f6b1e9aad94d43eaa2aa5 /scripts/get-instance-ip.sh
parent37e3c0b51e55f84d4f9838c42b7433f2554632ee (diff)
parent2ac270a8ee0ecf5357c541deb6e162b4cc26dd98 (diff)
Merge "Enhance vid CSIT tests, added for scaleout"
Diffstat (limited to 'scripts/get-instance-ip.sh')
-rwxr-xr-xscripts/get-instance-ip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get-instance-ip.sh b/scripts/get-instance-ip.sh
index c4ca82cf..a236c025 100755
--- a/scripts/get-instance-ip.sh
+++ b/scripts/get-instance-ip.sh
@@ -14,4 +14,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-docker inspect --format '{{ .NetworkSettings.IPAddress }}' $1
+docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $1