Skip to content

Commit

Permalink
build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (#93
Browse files Browse the repository at this point in the history
)

* 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](golangci/golangci-lint-action@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] <[email protected]>

* chore: fix spell check

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Demidoff <[email protected]>
  • Loading branch information
dependabot[bot] and ademidoff authored Aug 6, 2024
1 parent 0f2f61d commit f200c0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion collector/ntp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
3 changes: 2 additions & 1 deletion scripts/codespell_ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ siz
uint
uptodate
datas
mis
mis
bootup

0 comments on commit f200c0b

Please sign in to comment.