mirror of
https://github.com/openfaas/faas.git
synced 2025-06-23 15:23:29 +00:00
Rename Makefile targets
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
This commit is contained in:
9
gateway/vendor/golang.org/x/sync/singleflight/singleflight.go
generated
vendored
9
gateway/vendor/golang.org/x/sync/singleflight/singleflight.go
generated
vendored
@ -31,6 +31,15 @@ func (p *panicError) Error() string {
|
||||
return fmt.Sprintf("%v\n\n%s", p.value, p.stack)
|
||||
}
|
||||
|
||||
func (p *panicError) Unwrap() error {
|
||||
err, ok := p.value.(error)
|
||||
if !ok {
|
||||
return nil
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
func newPanicError(v interface{}) error {
|
||||
stack := debug.Stack()
|
||||
|
||||
|
Reference in New Issue
Block a user