mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 20:11:24 +00:00
🚑 Fixes nullable addons ports
This commit is contained in:
parent
af2340ed5d
commit
3f068f2581
1 changed files with 2 additions and 2 deletions
|
@ -486,7 +486,7 @@ function bashio::addon.port() {
|
|||
bashio::addons \
|
||||
"${slug}" \
|
||||
"addons.${slug}.network.${port//\//-}" \
|
||||
".network[\"${port}\"]"
|
||||
".network[\"${port}\"] // empty"
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
@ -510,7 +510,7 @@ function bashio::addon.port_description() {
|
|||
bashio::addons \
|
||||
"${slug}" \
|
||||
"addons.${slug}.network_description.${port//\//-}" \
|
||||
".network_description[\"${port}\"]"
|
||||
".network_description[\"${port}\"] // empty"
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue