diff --git a/vhclient/config.yaml b/vhclient/config.yaml index 7ec775f..55e70ce 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.179" +version: "0.1.180" slug: vhclient description: VirtualHere Client arch: @@ -49,7 +49,7 @@ schema: manualhub: str? test: [{ field: "str?", - value: "str?" + value: "bool?" }] stage: experimental init: false diff --git a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run index e7fac49..72c6c32 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run @@ -14,7 +14,7 @@ set -x #bashio::config::update 'my_array' "${my_array[@]}" options=$(bashio::addon.options) -new_options=$(echo $options | jq '.test[.test| length] |= . + { "field": "ONE", "value": "0" }') +new_options=$(echo $options | jq '.test[.test| length] |= . + { field: "ONE", value: false }') payload=$(bashio::var.json options "^${new_options}") bashio::api.supervisor POST "/addons/self/options" "${payload}" curl -sH "Authorization: Bearer $SUPERVISOR_TOKEN" http://supervisor/addons/self/info | jq .data.options