mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-09-01 03:31:25 +02:00
chore(deps): update dependency golangci/golangci-lint to v2.13.1 (master) (#2477)
Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de> Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -69,7 +69,7 @@ func GetDHCPV4ScopeStatistics() ([]DHCPV4Scope, error) {
|
||||
var errs []error
|
||||
|
||||
for _, subnet := range subnets {
|
||||
if err := (func() error {
|
||||
if err := func() error {
|
||||
var subnetInfo *DHCP_SUBNET_INFO
|
||||
|
||||
err := dhcpGetSubnetInfo(subnet.SubnetAddress, &subnetInfo)
|
||||
@@ -129,7 +129,7 @@ func GetDHCPV4ScopeStatistics() ([]DHCPV4Scope, error) {
|
||||
scopes = append(scopes, scope)
|
||||
|
||||
return nil
|
||||
})(); err != nil {
|
||||
}(); err != nil {
|
||||
errs = append(errs, err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user