mirror of
https://github.com/hassio-addons/addon-glances.git
synced 2025-05-05 11:31:31 +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
|
# Export Glances data to InfluxDB
|
||||||
if bashio::config.true 'influxdb.enabled'; then
|
if bashio::config.true 'influxdb.enabled'; then
|
||||||
|
protocol='http'
|
||||||
if bashio::config.true 'influxdb.ssl'; then
|
if bashio::config.true 'influxdb.ssl'; then
|
||||||
protocol='https'
|
protocol='https'
|
||||||
else
|
|
||||||
protocol='http'
|
|
||||||
fi
|
fi
|
||||||
# Modify the configuration
|
# Modify the configuration
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue