Compare commits

..

No commits in common. '40ce965ae12c5d75ab529ed736ba4138ee9667a6' and '60463721efdf94bacfec2f190b368d1672cbc42b' have entirely different histories.

@ -91,6 +91,7 @@ linters-settings:
- name: time-naming - name: time-naming
- name: unexported-return - name: unexported-return
- name: unnecessary-stmt - name: unnecessary-stmt
disabled: true
- name: unreachable-code - name: unreachable-code
- name: unused-parameter - name: unused-parameter
disabled: true disabled: true

@ -571,7 +571,8 @@ func (p *process) fillFromStatus(ctx context.Context) error {
continue continue
} }
value := tabParts[1] value := tabParts[1]
if strings.TrimRight(tabParts[0], ":") == "Uid" { switch strings.TrimRight(tabParts[0], ":") {
case "Uid":
p.uids = make([]int32, 0, 4) p.uids = make([]int32, 0, 4)
for _, i := range strings.Split(value, "\t") { for _, i := range strings.Split(value, "\t") {
v, err := strconv.ParseInt(i, 10, 32) v, err := strconv.ParseInt(i, 10, 32)

Loading…
Cancel
Save