Skip to content

K8SPXC-1293: Fix hanging mysqlbinlog in case proxy protocol enabled #739

K8SPXC-1293: Fix hanging mysqlbinlog in case proxy protocol enabled

K8SPXC-1293: Fix hanging mysqlbinlog in case proxy protocol enabled #739

GitHub Actions / shellcheck succeeded Oct 20, 2023 in 1s

reviewdog [shellcheck] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (41)

build/pxc-configure-pxc.sh|48 col 21| Expanding an array without an index only gives the first element.
build/pxc-configure-pxc.sh|49 col 29| Expanding an array without an index only gives the first element.
build/pxc-configure-pxc.sh|53 col 34| Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
build/pxc-configure-pxc.sh|56 col 44| Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
build/pxc-configure-pxc.sh|104 col 9| Double quote to prevent globbing and word splitting.
build/pxc-configure-pxc.sh|108 col 9| Double quote to prevent globbing and word splitting.
build/pxc-configure-pxc.sh|114 col 9| Double quote to prevent globbing and word splitting.
build/pxc-configure-pxc.sh|114 col 37| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-configure-pxc.sh|114 col 43| Double quote to prevent globbing and word splitting.
build/pxc-configure-pxc.sh|119 col 9| Double quote to prevent globbing and word splitting.
build/pxc-configure-pxc.sh|119 col 13| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-configure-pxc.sh|119 col 19| Double quote to prevent globbing and word splitting.
build/pxc-configure-pxc.sh|119 col 24| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-configure-pxc.sh|119 col 30| Double quote to prevent globbing and word splitting.
build/readiness-check.sh|34 col 15| Prefer mapfile or read -a to split command output (or quote to avoid splitting).
build/pxc-entrypoint.sh|44 col 41| Double quote to prevent globbing and word splitting.
build/pxc-entrypoint.sh|63 col 6| ShellCheck can't follow non-constant source. Use a directive to specify location.
build/pxc-entrypoint.sh|252 col 5| Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
build/pxc-entrypoint.sh|262 col 5| Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
build/pxc-entrypoint.sh|263 col 24| Double quote to prevent globbing and word splitting.
build/pxc-entrypoint.sh|263 col 28| Double quote to prevent globbing and word splitting.
build/pxc-entrypoint.sh|303 col 48| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|316 col 34| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|316 col 70| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|368 col 8| Use -n instead of ! -z.
build/pxc-entrypoint.sh|376 col 8| Use -n instead of ! -z.
build/pxc-entrypoint.sh|376 col 32| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|437 col 8| Use -n instead of ! -z.
build/pxc-entrypoint.sh|451 col 22| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|469 col 8| Use -n instead of ! -z.
build/pxc-entrypoint.sh|486 col 7| Use -n instead of ! -z.
build/pxc-entrypoint.sh|492 col 22| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|509 col 8| Use -n instead of ! -z.
build/pxc-entrypoint.sh|539 col 22| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|544 col 7| Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
build/pxc-entrypoint.sh|548 col 26| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|563 col 38| Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
build/pxc-entrypoint.sh|567 col 7| Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
build/pxc-entrypoint.sh|604 col 14| Double quote to prevent globbing and word splitting.
build/pxc-entrypoint.sh|657 col 51| Not following: /opt/percona/hookscript/hook.sh was not specified as input (see shellcheck -x).
build/pxc-entrypoint.sh|659 col 11| Double quote to prevent globbing and word splitting.