diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-14 22:36:12 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-14 22:36:12 +0300 |
commit | 4217dc0560bf40b4fa7ae6a6f964bd56b418712e (patch) | |
tree | 020e304e23b29d0eb12199c2f605f1262a3beb04 /bin/ak-stellar-get-participants | |
parent | 7743751290bb4e7678940be65725a48386e7b986 (diff) | |
download | arching-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-x | bin/ak-stellar-get-participants | 8 |
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 |