From 97ca4e19dbff36dca0f7aa66ecd9378eb118b030 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Mon, 7 Oct 2024 00:25:11 +0700 Subject: [PATCH] fix lint error --- .github/workflows/release.yaml | 2 ++ connector/client/utils.go | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d8ac772..e6b0acb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -54,6 +54,8 @@ jobs: - name: Checkout uses: actions/checkout@v4 - uses: actions/setup-go@v5 + with: + go-version-file: "go.mod" - name: build the CLI run: | diff --git a/connector/client/utils.go b/connector/client/utils.go index 84d99c8..c2ca699 100644 --- a/connector/client/utils.go +++ b/connector/client/utils.go @@ -13,8 +13,6 @@ import ( "github.com/prometheus/common/model" ) -const maxSteps = 11000 - // UnixTimeUnit the unit for unix timestamp type UnixTimeUnit string