mirror of
https://github.com/rancher/os.git
synced 2025-09-02 15:24:32 +00:00
migrate to upstream libcompose in one and a half go
This commit is contained in:
7
vendor/github.com/docker/distribution/context/http_test.go
generated
vendored
7
vendor/github.com/docker/distribution/context/http_test.go
generated
vendored
@@ -110,13 +110,6 @@ func (trw *testResponseWriter) Header() http.Header {
|
||||
return trw.header
|
||||
}
|
||||
|
||||
// CloseNotify is only here to make the testResponseWriter implement the
|
||||
// http.CloseNotifier interface, which WithResponseWriter expects to be
|
||||
// implemented.
|
||||
func (trw *testResponseWriter) CloseNotify() <-chan bool {
|
||||
return make(chan bool)
|
||||
}
|
||||
|
||||
func (trw *testResponseWriter) Write(p []byte) (n int, err error) {
|
||||
if trw.status == 0 {
|
||||
trw.status = http.StatusOK
|
||||
|
Reference in New Issue
Block a user