Merge pull request #37273 from brendandburns/race
Automatic merge from submit-queue (batch tested with PRs 39199, 37273, 29183, 39638, 40199) Add a log at the start of a watch request. Fixes https://github.com/kubernetes/kubernetes/issues/16899 (> than a year old!) @lavalamp
This commit is contained in:
		| @@ -302,6 +302,7 @@ func ListResource(r rest.Lister, rw rest.Watcher, scope RequestScope, forceWatch | ||||
| 		} | ||||
|  | ||||
| 		if (opts.Watch || forceWatch) && rw != nil { | ||||
| 			glog.Infof("Started to log from %v for %v", ctx, req.Request.URL.RequestURI()) | ||||
| 			watcher, err := rw.Watch(ctx, &opts) | ||||
| 			if err != nil { | ||||
| 				scope.err(err, res.ResponseWriter, req.Request) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue