From f5bd31980e7846899a04220971c8e6b734889269 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 28 Mar 2019 14:08:46 +0100 Subject: Removing explicit protocol for IP adresses in container list command. Signed-off-by: Daniel Baumann --- lib/container/list | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib') 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} - ${ADDRESS} +
${ADDRESS}
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 -- cgit v1.2.3