🚑 Fixes nullable addons ports

This commit is contained in:
Franck Nijhof 2019-04-10 07:56:25 +02:00
parent af2340ed5d
commit 3f068f2581
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -486,7 +486,7 @@ function bashio::addon.port() {
bashio::addons \ bashio::addons \
"${slug}" \ "${slug}" \
"addons.${slug}.network.${port//\//-}" \ "addons.${slug}.network.${port//\//-}" \
".network[\"${port}\"]" ".network[\"${port}\"] // empty"
} }
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -510,7 +510,7 @@ function bashio::addon.port_description() {
bashio::addons \ bashio::addons \
"${slug}" \ "${slug}" \
"addons.${slug}.network_description.${port//\//-}" \ "addons.${slug}.network_description.${port//\//-}" \
".network_description[\"${port}\"]" ".network_description[\"${port}\"] // empty"
} }
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------