From 4217dc0560bf40b4fa7ae6a6f964bd56b418712e Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 14 Jun 2024 22:36:12 +0300 Subject: Refactoring --- bin/ak-stellar-get-participants | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/ak-stellar-get-participants') diff --git a/bin/ak-stellar-get-participants b/bin/ak-stellar-get-participants index dfaf78d..779e9e1 100755 --- a/bin/ak-stellar-get-participants +++ b/bin/ak-stellar-get-participants @@ -48,9 +48,9 @@ show_ids(){ if [ "$flag" == "0" ] then echo $test >> $stellarParticipants - logit "INFO" "Added $test" + _ak_log_info "Added $test" else - logit "INFO" "$test already there. Skipping..." + _ak_log_info "$test already there. Skipping..." fi i="$(expr $i + 1)" done @@ -103,9 +103,9 @@ do if [ "$flag" == "0" ] then echo $addressValuePair >> $stellarParticipantsOnline - logit "INFO" "$p is configured with $(echo $addressValuePair | awk '{ print $2 }'). Added to online participants." + _ak_log_info "$p is configured with $(echo $addressValuePair | awk '{ print $2 }'). Added to online participants." else - logit "INFO" "$(echo $addressValuePair | awk '{ print $2 }') is already in $stellarParticipantsOnline. Skipping..." + _ak_log_info "$(echo $addressValuePair | awk '{ print $2 }') is already in $stellarParticipantsOnline. Skipping..." fi fi done < $stellarParticipants -- cgit v1.2.3