grafana_dashboards_generate: fix "file" local variable

This commit is contained in:
Giap Tran
2017-09-22 12:00:43 +07:00
parent 6213964317
commit 6aadd5cfd9

View File

@@ -174,7 +174,7 @@ addConfigMapHeader() {
addArrayToConfigMap() { addArrayToConfigMap() {
# This function process the array to_process into a configmap # This function process the array to_process into a configmap
local file=""
local OLDIFS=$IFS local OLDIFS=$IFS
local IFS=$'\n' local IFS=$'\n'
for file in ${to_process[@]}; do for file in ${to_process[@]}; do