aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-stellar-get-participants
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-14 22:36:12 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-14 22:36:12 +0300
commit4217dc0560bf40b4fa7ae6a6f964bd56b418712e (patch)
tree020e304e23b29d0eb12199c2f605f1262a3beb04 /bin/ak-stellar-get-participants
parent7743751290bb4e7678940be65725a48386e7b986 (diff)
downloadarching-kaos-tools-4217dc0560bf40b4fa7ae6a6f964bd56b418712e.tar.gz
arching-kaos-tools-4217dc0560bf40b4fa7ae6a6f964bd56b418712e.tar.bz2
arching-kaos-tools-4217dc0560bf40b4fa7ae6a6f964bd56b418712e.zip
Refactoring
Diffstat (limited to 'bin/ak-stellar-get-participants')
-rwxr-xr-xbin/ak-stellar-get-participants8
1 files changed, 4 insertions, 4 deletions
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