From 62f3b9deea317d6b247d01957b5c54bd6f76fa27 Mon Sep 17 00:00:00 2001 From: Hans Karlinius Date: Thu, 28 Nov 2024 16:47:17 +0100 Subject: [PATCH] test --- vhclient/config.yaml | 2 +- vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vhclient/config.yaml b/vhclient/config.yaml index eefb58a..37ec08a 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.167" +version: "0.1.168" slug: vhclient description: VirtualHere Client arch: 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 0590cbf..8e994cb 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.gurka=false) +new_options=$(echo $options | jq .test[gurka=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