Sign in
apache
/
cloudstack-kubernetes-provider
/
b13b4a31891ea31a105db83bf019224b9407aa9e
/
.
/
vendor
/
github.com
/
docker
/
distribution
/
registry
/
storage
/
error.go
blob: 109136586ddcddd9d284ba4192466a74db5590e7 [
file
] [
log
] [
blame
]
package storage
import "fmt"
// pushError formats an error type given a path and an error
// and pushes it to a slice of errors
func pushError(errors []error, path string, err error) []error {
return append(errors, fmt.Errorf("%s: %s", path, err))
}