mirror of
https://github.com/containers/skopeo.git
synced 2026-02-02 23:39:02 +00:00
Impove error reporting by wrapping all returned err functions with error.Wrapf Signed-off-by: Dan Walsh <dwalsh@redhat.com> Closes: #124 Approved by: nalind Signed-off-by: Dan Walsh <dwalsh@redhat.com> Closes: #125 Approved by: nalind
20 lines
493 B
Go
20 lines
493 B
Go
// +build !cgo !linux
|
|
|
|
package buildah
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func lookupUserInContainer(rootdir, username string) (uint64, uint64, error) {
|
|
return 0, 0, errors.Wrapf("user lookup not supported")
|
|
}
|
|
|
|
func lookupGroupInContainer(rootdir, groupname string) (uint64, error) {
|
|
return 0, errors.Wrapf("group lookup not supported")
|
|
}
|
|
|
|
func lookupGroupForUIDInContainer(rootdir string, userid uint64) (string, uint64, error) {
|
|
return "", 0, errors.Wrapf("primary group lookup by uid not supported")
|
|
}
|