code refactoring

This commit is contained in:
tteckster 2023-03-08 15:37:32 -05:00 committed by GitHub
parent 6d2a8a2ec4
commit 7305fa4f0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 43 deletions

View file

@ -120,12 +120,6 @@ msg_ok "Installed InfluxDB"
read -r -p "Would you like to add Telegraf? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
TELEGRAF="Y"
else
TELEGRAF="N"
fi
if [[ $TELEGRAF == "Y" ]]; then
msg_info "Installing Telegraf"
$STD apt-get install -y telegraf
msg_ok "Installed Telegraf"