From ee9a24278fe518498919839f7ddbe8d1e83bfe2d Mon Sep 17 00:00:00 2001 From: Simon Kobler Date: Fri, 17 May 2024 13:37:15 +0200 Subject: [PATCH] Fixed static checks Signed-off-by: Simon Kobler --- CHANGELOG.md | 2 +- pkg/scalers/github_runner_scaler_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4400cde62ea..aac34e5d427 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,8 +70,8 @@ Here is an overview of all new **experimental** features: ### Improvements - **GCP Scalers**: Added custom time horizon in GCP scalers ([#5778](https://github.com/kedacore/keda/issues/5778)) -- **Kafka**: Fix logic to scale to zero on invalid offset even with earliest offsetResetPolicy ([#5689](https://github.com/kedacore/keda/issues/5689)) - **GitHub Scaler**: Fixed pagination, fetching repository list ([#5738](https://github.com/kedacore/keda/issues/5738)) +- **Kafka**: Fix logic to scale to zero on invalid offset even with earliest offsetResetPolicy ([#5689](https://github.com/kedacore/keda/issues/5689)) ### Fixes diff --git a/pkg/scalers/github_runner_scaler_test.go b/pkg/scalers/github_runner_scaler_test.go index d092d7355cf..fc1babdddc2 100644 --- a/pkg/scalers/github_runner_scaler_test.go +++ b/pkg/scalers/github_runner_scaler_test.go @@ -2,13 +2,13 @@ package scalers import ( "context" + "crypto/rand" "encoding/json" "fmt" - "crypto/rand" + "html/template" "math/big" "net/http" "net/http/httptest" - "html/template" "strings" "testing" "time"