mirror of
https://github.com/containers/podman.git
synced 2025-11-01 22:32:50 +08:00
vendor c/psgo@v1.7.1
psgo added support for listing supplementary groups via two new descriptors: * `groups` for supplementary groups inside the container * `hgroups` for the counterpart on the host Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/psgo/internal/proc/ns.go
generated
vendored
2
vendor/github.com/containers/psgo/internal/proc/ns.go
generated
vendored
@ -59,7 +59,7 @@ func ReadMappings(path string) ([]IDMap, error) {
|
||||
for {
|
||||
line, _, err := buf.ReadLine()
|
||||
if err != nil {
|
||||
if err == io.EOF {
|
||||
if err == io.EOF { //nolint:errorlint // False positive, see https://github.com/polyfloyd/go-errorlint/pull/12
|
||||
return mappings, nil
|
||||
}
|
||||
return nil, fmt.Errorf("cannot read line from %s: %w", path, err)
|
||||
|
||||
Reference in New Issue
Block a user