From 545cf338e1d77bfd00fca3a9725c3a518d245dc1 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 812010003..87a3c381d 100644 --- a/log-collector-script/linux/eks-log-collector.sh +++ b/log-collector-script/linux/eks-log-collector.sh @@ -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