forked from ungleich-public/cdist
Revert changes in for loop because param value is changed.
This commit is contained in:
parent
33a0e05e3d
commit
4bec22d726
7 changed files with 7 additions and 7 deletions
|
@ -35,7 +35,7 @@ fi
|
|||
echo "{"
|
||||
printf ' "watches": [{\n'
|
||||
printf ' "type": "%s"\n' "$watch_type"
|
||||
for param in $__object/parameter/*; do
|
||||
for param in $(ls "$__object/parameter/"); do
|
||||
case "$param" in
|
||||
state) continue ;;
|
||||
filter-*)
|
||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
|||
echo "{"
|
||||
printf ' "watches": [{\n'
|
||||
printf ' "type": "%s"\n' "$watch_type"
|
||||
for param in $__object/parameter/*; do
|
||||
for param in $(ls "$__object/parameter/"); do
|
||||
case "$param" in
|
||||
state) continue ;;
|
||||
*)
|
||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
|||
echo "{"
|
||||
printf ' "watches": [{\n'
|
||||
printf ' "type": "%s"\n' "$watch_type"
|
||||
for param in $__object/parameter/*; do
|
||||
for param in $(ls "$__object/parameter/"); do
|
||||
case "$param" in
|
||||
state) continue ;;
|
||||
*)
|
||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
|||
echo "{"
|
||||
printf ' "watches": [{\n'
|
||||
printf ' "type": "%s"\n' "$watch_type"
|
||||
for param in $__object/parameter/*; do
|
||||
for param in $(ls "$__object/parameter/"); do
|
||||
case "$param" in
|
||||
state) continue ;;
|
||||
*)
|
||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
|||
echo "{"
|
||||
printf ' "watches": [{\n'
|
||||
printf ' "type": "%s"\n' "$watch_type"
|
||||
for param in $__object/parameter/*; do
|
||||
for param in $(ls "$__object/parameter/"); do
|
||||
case "$param" in
|
||||
state) continue ;;
|
||||
*)
|
||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
|||
echo "{"
|
||||
printf ' "watches": [{\n'
|
||||
printf ' "type": "%s"\n' "$watch_type"
|
||||
for param in $__object/parameter/*; do
|
||||
for param in $(ls "$__object/parameter/"); do
|
||||
case "$param" in
|
||||
state) continue ;;
|
||||
passingonly)
|
||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
|||
echo "{"
|
||||
printf ' "watches": [{\n'
|
||||
printf ' "type": "%s"\n' "$watch_type"
|
||||
for param in $__object/parameter/*; do
|
||||
for param in $(ls "$__object/parameter/"); do
|
||||
case "$param" in
|
||||
state) continue ;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue