stager/docker/fetcher.go
Function Fetch
has 5 return statements (exceeds 4 allowed). Open
Open
func Fetch(dockerRef string, sysCtx types.SystemContext) (*v1.ImageConfig, error) {
ref, err := docker.ParseReference(dockerRef)
if err != nil {
return nil, errors.Wrap(err, "failed to parse docker reference")
}