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