Skip to content

Commit

Permalink
fix: polish up debug messages
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <[email protected]>
  • Loading branch information
leninmehedy committed Nov 13, 2023
1 parent be5ccdd commit 8fe0965
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dev/scripts/helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,14 @@ function copy_node_keys() {

# prepare address book using all nodes pod IP and store as config.txt
function prep_address_book() {
IFS=. read -a VERSION_PARTS <<< "$PLATFORM_VERSION"
local MINOR_VERSION=${VERSION_PARTS[1]}

echo ""
echo "Preparing address book"
echo "PLATFORM_VERSION [ MAJOR: ${VERSION_PARTS[0]}, MINOR=${VERSION_PARTS[1]}, PATCH=${VERSION_PARTS[2]} ]"
echo "-----------------------------------------------------------------------------------------------------"

IFS=. read -a VERSION_PARTS <<< "$PLATFORM_VERSION"
echo "MAJOR: ${VERSION_PARTS[0]}, MINOR=${VERSION_PARTS[1]}, PATCH=${VERSION_PARTS[2]}"
local MINOR_VERSION=${VERSION_PARTS[1]}


local config_file="${TMP_DIR}/config.txt"
Expand Down

0 comments on commit 8fe0965

Please sign in to comment.