Change gzipwriter receiver to implement CloseNotifier

This commit is contained in:
SALLEYRON Julien 2018-01-25 21:46:04 +01:00 committed by Traefiker
parent 323b8237a0
commit bf12306f17
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ type GzipResponseWriterWithCloseNotify struct {
*GzipResponseWriter
}
func (w *GzipResponseWriterWithCloseNotify) CloseNotify() <-chan bool {
func (w GzipResponseWriterWithCloseNotify) CloseNotify() <-chan bool {
return w.ResponseWriter.(http.CloseNotifier).CloseNotify()
}