mirror of
https://github.com/containers/podman.git
synced 2025-12-03 11:49:18 +08:00
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:
4
vendor/github.com/shirou/gopsutil/v4/internal/common/binary.go
generated
vendored
4
vendor/github.com/shirou/gopsutil/v4/internal/common/binary.go
generated
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user