From d5e45bf7ee2d004008f63b682ab18603235133e3 Mon Sep 17 00:00:00 2001 From: AbeOwlu Date: Wed, 5 Jun 2024 17:23:37 -0500 Subject: [PATCH] shfmt lint --- log-collector-script/linux/eks-log-collector.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log-collector-script/linux/eks-log-collector.sh b/log-collector-script/linux/eks-log-collector.sh index 392e7b5d7..552c35735 100644 --- a/log-collector-script/linux/eks-log-collector.sh +++ b/log-collector-script/linux/eks-log-collector.sh @@ -348,9 +348,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