From b6ad5084498ea7805e4f70668ed27a6520f828ab Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 8 Oct 2023 03:43:56 +0200
Subject: [PATCH] fix(nut-exporter): Fix typo in dashboard

---
 charts/nut-exporter/Chart.yaml              | 2 +-
 charts/nut-exporter/README.md               | 2 +-
 charts/nut-exporter/dashboards/default.json | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/charts/nut-exporter/Chart.yaml b/charts/nut-exporter/Chart.yaml
index 167407d7f..2a95f98f1 100644
--- a/charts/nut-exporter/Chart.yaml
+++ b/charts/nut-exporter/Chart.yaml
@@ -13,5 +13,5 @@ sources:
   - https://github.com/acolombier/nut_exporter/tree/feat/add-helm-chart
 
 type: application
-version: 0.3.6
+version: 0.3.7
 appVersion: 3.0.0
diff --git a/charts/nut-exporter/README.md b/charts/nut-exporter/README.md
index 2d85b2741..214060c81 100644
--- a/charts/nut-exporter/README.md
+++ b/charts/nut-exporter/README.md
@@ -1,6 +1,6 @@
 # nut-exporter
 
-![Version: 0.3.6](https://img.shields.io/badge/Version-0.3.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
+![Version: 0.3.7](https://img.shields.io/badge/Version-0.3.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
 
 Installs NUT exporter in Kubernetes
 
diff --git a/charts/nut-exporter/dashboards/default.json b/charts/nut-exporter/dashboards/default.json
index 58c06bfae..9218e4a68 100755
--- a/charts/nut-exporter/dashboards/default.json
+++ b/charts/nut-exporter/dashboards/default.json
@@ -351,7 +351,7 @@
             "type": "prometheus",
             "uid": "${datasource}"
           },
-          "expr": "min by (ups) (network_ups_tools_battery_charge{ups=\"$ups\")}",
+          "expr": "min by (ups) (network_ups_tools_battery_charge{ups=\"$ups\"})",
           "instant": false,
           "interval": "",
           "legendFormat": "",
-- 
GitLab