From f200c0b5f989cb695f8512ae8ff1df07ac1a62c3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 14:27:13 +0300 Subject: [PATCH] build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (#93) * build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.0.1...v6.1.0) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore: fix spell check --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Demidoff --- .github/workflows/golangci-lint.yml | 2 +- collector/ntp.go | 2 +- scripts/codespell_ignore.txt | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index a9dd1099e7..046de566b3 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -28,6 +28,6 @@ jobs: if: github.repository == 'prometheus/snmp_exporter' - name: Lint - uses: golangci/golangci-lint-action@v6.0.1 + uses: golangci/golangci-lint-action@v6.1.0 with: version: v1.45.2 diff --git a/collector/ntp.go b/collector/ntp.go index d6ce44907f..c9cdcc3fc6 100644 --- a/collector/ntp.go +++ b/collector/ntp.go @@ -60,7 +60,7 @@ func init() { // NewNtpCollector returns a new Collector exposing sanity of local NTP server. // Default definition of "local" is: // - collector.ntp.server address is a loopback address (or collector.ntp.server-is-mine flag is turned on) -// - the server is reachable with outgoin IP_TTL = 1 +// - the server is reachable with outgoing IP_TTL = 1 func NewNtpCollector(logger log.Logger) (Collector, error) { ipaddr := net.ParseIP(*ntpServer) if !*ntpServerIsLocal && (ipaddr == nil || !ipaddr.IsLoopback()) { diff --git a/scripts/codespell_ignore.txt b/scripts/codespell_ignore.txt index d36812fbab..6dd739e590 100644 --- a/scripts/codespell_ignore.txt +++ b/scripts/codespell_ignore.txt @@ -5,4 +5,5 @@ siz uint uptodate datas -mis \ No newline at end of file +mis +bootup \ No newline at end of file