Skip to content

Commit

Permalink
chore: fix audit error
Browse files Browse the repository at this point in the history
  • Loading branch information
nixpig committed Dec 14, 2024
1 parent d83b570 commit bcf3312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/opencontainers/runtime-spec/specs-go"
)

func BuildUidMappings(specUIDMappings []specs.LinuxIDMapping) []syscall.SysProcIDMap {
func BuildUIDMappings(specUIDMappings []specs.LinuxIDMapping) []syscall.SysProcIDMap {
uidMappings := make([]syscall.SysProcIDMap, len(specUIDMappings))

for i, m := range specUIDMappings {
Expand All @@ -20,7 +20,7 @@ func BuildUidMappings(specUIDMappings []specs.LinuxIDMapping) []syscall.SysProcI
return uidMappings
}

func BuildGidMappings(specGIDMappings []specs.LinuxIDMapping) []syscall.SysProcIDMap {
func BuildGIDMappings(specGIDMappings []specs.LinuxIDMapping) []syscall.SysProcIDMap {
gidMappings := make([]syscall.SysProcIDMap, len(specGIDMappings))

for i, g := range specGIDMappings {
Expand Down

0 comments on commit bcf3312

Please sign in to comment.