mirror of
https://github.com/hassio-addons/addon-glances.git
synced 2025-05-05 03:21:36 +00:00
👌 Remove else statement
This commit is contained in:
parent
052974a750
commit
cea4f882cd
1 changed files with 1 additions and 2 deletions
|
@ -19,10 +19,9 @@ fi
|
|||
|
||||
# Export Glances data to InfluxDB
|
||||
if bashio::config.true 'influxdb.enabled'; then
|
||||
protocol='http'
|
||||
if bashio::config.true 'influxdb.ssl'; then
|
||||
protocol='https'
|
||||
else
|
||||
protocol='http'
|
||||
fi
|
||||
# Modify the configuration
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue