Skip to content

Commit 125dc6c

Browse files
authored
Merge pull request kubernetes#74187 from xichengliudui/fixgolint0218
Fix shellcheck lint errors in cluster/addons/fluentd-elasticsearch/fl……uentd-es-image/run.sh
2 parents 9fcbf02 + 053332a commit 125dc6c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cluster/addons/fluentd-elasticsearch/fluentd-es-image/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@
2020
# For systems without journald
2121
mkdir -p /var/log/journal
2222

23+
# Use exec to get the signal
24+
# A non-quoted string and add the comment to prevent shellcheck failures on this line.
25+
# See https://github.com/koalaman/shellcheck/wiki/SC2086
26+
# shellcheck disable=SC2086
2327
exec /usr/local/bin/fluentd $FLUENTD_ARGS

hack/.shellcheck_failures

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
./build/lib/release.sh
22
./cluster/addons/addon-manager/kube-addons.sh
33
./cluster/addons/fluentd-elasticsearch/es-image/run.sh
4-
./cluster/addons/fluentd-elasticsearch/fluentd-es-image/run.sh
54
./cluster/clientbin.sh
65
./cluster/common.sh
76
./cluster/gce/config-common.sh

0 commit comments

Comments
 (0)