summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-28 13:08:46 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-04-12 19:11:22 +0000
commitf5bd31980e7846899a04220971c8e6b734889269 (patch)
tree54f0c32744609884a780984ffa68b4637a3050d5 /lib
parentReleasing version 20190319. (diff)
downloadcompute-tools-f5bd31980e7846899a04220971c8e6b734889269.tar.xz
compute-tools-f5bd31980e7846899a04220971c8e6b734889269.zip
Removing explicit protocol for IP adresses in container list command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
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