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 "{"
|
echo "{"
|
||||||
printf ' "watches": [{\n'
|
printf ' "watches": [{\n'
|
||||||
printf ' "type": "%s"\n' "$watch_type"
|
printf ' "type": "%s"\n' "$watch_type"
|
||||||
for param in $__object/parameter/*; do
|
for param in $(ls "$__object/parameter/"); do
|
||||||
case "$param" in
|
case "$param" in
|
||||||
state) continue ;;
|
state) continue ;;
|
||||||
filter-*)
|
filter-*)
|
||||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
||||||
echo "{"
|
echo "{"
|
||||||
printf ' "watches": [{\n'
|
printf ' "watches": [{\n'
|
||||||
printf ' "type": "%s"\n' "$watch_type"
|
printf ' "type": "%s"\n' "$watch_type"
|
||||||
for param in $__object/parameter/*; do
|
for param in $(ls "$__object/parameter/"); do
|
||||||
case "$param" in
|
case "$param" in
|
||||||
state) continue ;;
|
state) continue ;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
||||||
echo "{"
|
echo "{"
|
||||||
printf ' "watches": [{\n'
|
printf ' "watches": [{\n'
|
||||||
printf ' "type": "%s"\n' "$watch_type"
|
printf ' "type": "%s"\n' "$watch_type"
|
||||||
for param in $__object/parameter/*; do
|
for param in $(ls "$__object/parameter/"); do
|
||||||
case "$param" in
|
case "$param" in
|
||||||
state) continue ;;
|
state) continue ;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
||||||
echo "{"
|
echo "{"
|
||||||
printf ' "watches": [{\n'
|
printf ' "watches": [{\n'
|
||||||
printf ' "type": "%s"\n' "$watch_type"
|
printf ' "type": "%s"\n' "$watch_type"
|
||||||
for param in $__object/parameter/*; do
|
for param in $(ls "$__object/parameter/"); do
|
||||||
case "$param" in
|
case "$param" in
|
||||||
state) continue ;;
|
state) continue ;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
||||||
echo "{"
|
echo "{"
|
||||||
printf ' "watches": [{\n'
|
printf ' "watches": [{\n'
|
||||||
printf ' "type": "%s"\n' "$watch_type"
|
printf ' "type": "%s"\n' "$watch_type"
|
||||||
for param in $__object/parameter/*; do
|
for param in $(ls "$__object/parameter/"); do
|
||||||
case "$param" in
|
case "$param" in
|
||||||
state) continue ;;
|
state) continue ;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
||||||
echo "{"
|
echo "{"
|
||||||
printf ' "watches": [{\n'
|
printf ' "watches": [{\n'
|
||||||
printf ' "type": "%s"\n' "$watch_type"
|
printf ' "type": "%s"\n' "$watch_type"
|
||||||
for param in $__object/parameter/*; do
|
for param in $(ls "$__object/parameter/"); do
|
||||||
case "$param" in
|
case "$param" in
|
||||||
state) continue ;;
|
state) continue ;;
|
||||||
passingonly)
|
passingonly)
|
||||||
|
|
|
@ -29,7 +29,7 @@ state="$(cat "$__object/parameter/state")"
|
||||||
echo "{"
|
echo "{"
|
||||||
printf ' "watches": [{\n'
|
printf ' "watches": [{\n'
|
||||||
printf ' "type": "%s"\n' "$watch_type"
|
printf ' "type": "%s"\n' "$watch_type"
|
||||||
for param in $__object/parameter/*; do
|
for param in $(ls "$__object/parameter/"); do
|
||||||
case "$param" in
|
case "$param" in
|
||||||
state) continue ;;
|
state) continue ;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue