Skip to content

Commit

Permalink
🚑 Fixes nullable addons ports
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Apr 10, 2019
1 parent af2340e commit 3f068f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/addons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ function bashio::addon.port() {
bashio::addons \
"${slug}" \
"addons.${slug}.network.${port//\//-}" \
".network[\"${port}\"]"
".network[\"${port}\"] // empty"
}

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

# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 3f068f2

Please sign in to comment.