Skip to content

Commit

Permalink
shfmt lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeOwlu committed Jun 5, 2024
1 parent 7278db7 commit 545cf33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log-collector-script/linux/eks-log-collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ get_iptables_info() {
if ! command -v ipvsadm && command -v ipset > /dev/null 2>&1; then
echo "IPVS Linux kernel module not installed" | tee ipvsadm.txt ipset.txt
else
## check that ip_vs module is loaded in get_modinfo()
# check that ip_vs module is loaded in get_modinfo()
try "collect ipvs information"
ipvsadm --save | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt && sed -i '1s/^/add \tproto \tvirt-server \tscheduler algthm \treal-server \n/' "${COLLECT_DIR}"/networking/ipvsadm.txt
ipvsadm --save | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt && sed -i '1s/^/add \tproto \tvirt-server \tscheduler algthm \treal-server \n/' "${COLLECT_DIR}"/networking/ipvsadm.txt
ipvsadm --list --numeric --rate | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt
ok -e "\n" | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt
ipvsadm --list --numeric --stats --exact | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt
Expand Down

0 comments on commit 545cf33

Please sign in to comment.