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:
renovate[bot]
2026-08-22 20:28:09 +02:00
committed by GitHub
parent 2743d4e3f7
commit 75b0c11bb4
11 changed files with 13 additions and 14 deletions

View File

@@ -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)
}
}

View File

@@ -52,7 +52,7 @@ var (
func GetPerformanceInfo() (PerformanceInformation, error) {
var lppi PerformanceInformation
size := (uint32)(unsafe.Sizeof(lppi))
size := uint32(unsafe.Sizeof(lppi))
lppi.cb = size
r1, _, err := procGetPerformanceInfo.Call(uintptr(unsafe.Pointer(&lppi)), uintptr(size))

View File

@@ -128,7 +128,7 @@ var (
func GlobalMemoryStatusEx() (MemoryStatus, error) {
var mse memoryStatusEx
mse.dwLength = (uint32)(unsafe.Sizeof(mse))
mse.dwLength = uint32(unsafe.Sizeof(mse))
r1, _, err := procGlobalMemoryStatusEx.Call(uintptr(unsafe.Pointer(&mse)))
if ret := *(*bool)(unsafe.Pointer(&r1)); !ret {