summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-13 03:50:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-13 04:08:38 +0000
commit6f97e0121c2b023f087d81ae3c1274a12be9d7ea (patch)
treef33ef2fc72cdbace454b9164001f0789e42f1845 /lib
parentAdding upstream version 20190319. (diff)
downloadopen-infrastructure-compute-tools-6f97e0121c2b023f087d81ae3c1274a12be9d7ea.tar.xz
open-infrastructure-compute-tools-6f97e0121c2b023f087d81ae3c1274a12be9d7ea.zip
Adding upstream version 20190413.upstream/20190413
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xlib/container/list10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/container/list b/lib/container/list
index 62f6a5b..6b0d771 100755
--- a/lib/container/list
+++ b/lib/container/list
@@ -146,7 +146,7 @@ cat << EOF
{
"name": "${CONTAINER}",
"status": "${STATE}",
- "ipv4Address": "${ADDRESS}",
+ "address": "${ADDRESS}",
},
EOF
@@ -179,8 +179,8 @@ EOF
yaml)
cat << EOF
- - name: ${CONTAINER}
- ipv4_address: ${ADDRESS}
+ - name: ${CONTAINER}
+ address: ${ADDRESS}
EOF
;;
@@ -190,7 +190,7 @@ EOF
cat << EOF
<container>
<name>${CONTAINER}</name>
- <ipv4Address>${ADDRESS}</ipv4Address>
+ <address>${ADDRESS}</address>
</container>
EOF
@@ -225,7 +225,7 @@ case "${FORMAT}" in
NORMAL="$(tput sgr0)"
cat << EOF
-${WHITE} ${NORMAL} Container IPv4 Address(es)
+${WHITE} ${NORMAL} Container IP Address
--------------------------------------------------------------------------------
EOF