Update godeps
This commit is contained in:
parent
423433bc5f
commit
701c5a0e30
482 changed files with 86915 additions and 19741 deletions
5
vendor/k8s.io/kubernetes/pkg/util/runtime/runtime.go
generated
vendored
5
vendor/k8s.io/kubernetes/pkg/util/runtime/runtime.go
generated
vendored
|
|
@ -67,6 +67,11 @@ var ErrorHandlers = []func(error){logError}
|
|||
// is preferable to logging the error - the default behavior is to log but the
|
||||
// errors may be sent to a remote server for analysis.
|
||||
func HandleError(err error) {
|
||||
// this is sometimes called with a nil error. We probably shouldn't fail and should do nothing instead
|
||||
if err == nil {
|
||||
return
|
||||
}
|
||||
|
||||
for _, fn := range ErrorHandlers {
|
||||
fn(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue