context, registry/handlers: remove net/context references
Signed-off-by: Stephen J Day <stephen.day@docker.com>master
							parent
							
								
									277ed486c9
								
							
						
					
					
						commit
						585cdeb571
					
				|  | @ -1,7 +1,6 @@ | ||||||
| // Package context provides several utilities for working with
 | // Package context provides several utilities for working with
 | ||||||
| // golang.org/x/net/context in http requests. Primarily, the focus is on
 | // Go's context in http requests. Primarily, the focus is on logging relevant
 | ||||||
| // logging relevant request information but this package is not limited to
 | // request information but this package is not limited to that purpose.
 | ||||||
| // that purpose.
 |  | ||||||
| //
 | //
 | ||||||
| // The easiest way to get started is to get the background context:
 | // The easiest way to get started is to get the background context:
 | ||||||
| //
 | //
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,7 @@ | ||||||
| package handlers | package handlers | ||||||
| 
 | 
 | ||||||
| import ( | import ( | ||||||
|  | 	"context" | ||||||
| 	"fmt" | 	"fmt" | ||||||
| 	"net/http" | 	"net/http" | ||||||
| 
 | 
 | ||||||
|  | @ -10,7 +11,6 @@ import ( | ||||||
| 	"github.com/docker/distribution/registry/api/v2" | 	"github.com/docker/distribution/registry/api/v2" | ||||||
| 	"github.com/docker/distribution/registry/auth" | 	"github.com/docker/distribution/registry/auth" | ||||||
| 	"github.com/opencontainers/go-digest" | 	"github.com/opencontainers/go-digest" | ||||||
| 	"golang.org/x/net/context" |  | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| // Context should contain the request specific context for use in across
 | // Context should contain the request specific context for use in across
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue