From ca07059825ddabb6e2dbeb3f5b560268cb87e798 Mon Sep 17 00:00:00 2001 From: Badr Bouslikhin Date: Sun, 14 Jul 2024 18:18:02 +0200 Subject: [PATCH 1/2] fix: correct spelling errors for temperature units --- grafanalib/formatunits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/grafanalib/formatunits.py b/grafanalib/formatunits.py index 54112427..3fbd76ec 100644 --- a/grafanalib/formatunits.py +++ b/grafanalib/formatunits.py @@ -238,9 +238,9 @@ RADS_PER_SEC = 'rotrads' # rad/s DEGREES_PER_SECOND = 'rotdegs' # °/s # Temperature -CELSUIS = 'celsius' # °C -FARENHEIT = 'fahrenheit' # °F -KELVIN = 'kelvin' # K +CELSIUS = 'celsius' # °C +FAHRENHEIT = 'fahrenheit' # °F +KELVIN = 'kelvin' # K # Time HERTZ = 'hertz' # Hz NANO_SECONDS = 'ns' # ns From ee15ba9612a2bec11cab9fb0354100b22bfa8380 Mon Sep 17 00:00:00 2001 From: Badr Bouslikhin Date: Tue, 16 Jul 2024 14:34:07 +0200 Subject: [PATCH 2/2] fix: add breaking change to changelog --- CHANGELOG.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bbdea066..deb074cc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,7 @@ Changelog x.x.x ? ======= +* **Breaking change:** Fixed spelling errors for temperature units, corrected 'CELSUIS' to 'CELSIUS' and 'FARENHEIT' to 'FAHRENHEIT'. * Added ``tooltipSort`` parameter to PieChartv2 panel * Fix mappings for Table * Added support for AWS Cross-Account in CloudwatchMetricsTarget