mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 11:12:03 +00:00
Improve bash formatting.
This commit is contained in:
@@ -25,7 +25,7 @@ kube::util::array_contains() {
|
||||
local element
|
||||
shift
|
||||
for element; do
|
||||
if [[ "$element" == "$search" ]]; then
|
||||
if [[ "${element}" == "${search}" ]]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user