fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.7

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-08-01 05:00:20 +00:00
committed by GitHub
parent 0389651436
commit a6fa3de870
25 changed files with 283 additions and 281 deletions

View File

@@ -472,7 +472,7 @@ func (d *decoder) value(v reflect.Value) {
// but creating the StructField info for each field is
// costly (run "go test -bench=ReadStruct" and compare
// results when making changes to this code).
if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
if v = v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
d.value(v)
} else {
d.skip(v)
@@ -534,7 +534,7 @@ func (e *encoder) value(v reflect.Value) {
l := v.NumField()
for i := 0; i < l; i++ {
// see comment for corresponding code in decoder.value()
if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
if v = v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
e.value(v)
} else {
e.skip(v)