diff --git a/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/apiserver/resthandler.go b/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/apiserver/resthandler.go index 9d751537fb36..1d666437ac2e 100644 --- a/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/apiserver/resthandler.go +++ b/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/apiserver/resthandler.go @@ -28,6 +28,7 @@ import ( "github.com/GoogleCloudPlatform/kubernetes/pkg/runtime" "github.com/emicklei/go-restful" + "github.com/golang/glog" ) // ContextFunc returns a Context given a request - a context must be returned @@ -347,7 +348,8 @@ func setSelfLink(obj runtime.Object, req *restful.Request, namer ScopeNamer) err return nil } if err != nil { - return err + glog.Errorf("error generating link: %v", err) + return nil } newURL := *req.Request.URL