Skip to content

Commit

Permalink
chore(golangci-lint,precommit): updating deps and fixing comment inde…
Browse files Browse the repository at this point in the history
…ntation
  • Loading branch information
bl4ko committed Dec 28, 2024
1 parent af6b7a0 commit 2e8974a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- id: go-mod-tidy

- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.2
rev: v8.22.0
hooks:
- id: gitleaks

Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
github.com/PaloAltoNetworks/pango v0.10.2 h1:Tjn6vIzzAq6Dd7N0mDuiP8w8pz8k5W9zz/TTSUQCsQY=
github.com/PaloAltoNetworks/pango v0.10.2/go.mod h1:GztcRnVLur7G+VFG7Z5ZKNFgScLtsycwPMp1qVebE5g=
github.com/bl4ko/go-devicetype-library v0.1.21 h1:tqLgoitBNOcW7h4g4ut7UeCaPxNd0eKVr3nWd4pUSRQ=
github.com/bl4ko/go-devicetype-library v0.1.21/go.mod h1:Pzm1BlRyR4uECezsRINDA6ZieFPumdFL+6yySpXM6t8=
github.com/bl4ko/go-devicetype-library v0.1.23 h1:hgRF0LLqnbAe/J8Pt7KyYaZm7XYXLWLb0OLQaOJoWPQ=
github.com/bl4ko/go-devicetype-library v0.1.23/go.mod h1:Pzm1BlRyR4uECezsRINDA6ZieFPumdFL+6yySpXM6t8=
github.com/buger/goterm v1.0.4 h1:Z9YvGmOih81P0FbVtEYTFF6YsSgxSUKEhf/f9bTMXbY=
Expand Down
2 changes: 1 addition & 1 deletion internal/source/proxmox/proxmox_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (ps *ProxmoxSource) syncCluster(nbi *inventory.NetboxInventory) error {
}

// Check if proxmox is running standalon node.
// in that case cluster name is empty and should set SourceConfig.Name for Cluster.Name
// in that case cluster name is empty and should set SourceConfig.Name for Cluster.Name
if ps.Cluster.Name == "" {
ps.Cluster.Name = ps.SourceConfig.Name
}
Expand Down

0 comments on commit 2e8974a

Please sign in to comment.