We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b043b commit 4ed9440Copy full SHA for 4ed9440
pkg/gcrcleaner/server.go
@@ -20,7 +20,6 @@ import (
20
"encoding/json"
21
"fmt"
22
"io"
23
- "io/ioutil"
24
"net/http"
25
"sort"
26
"strings"
@@ -81,7 +80,7 @@ func (s *Server) PubSubHandler(cache Cache) http.HandlerFunc {
81
80
}
82
83
// Start a goroutine to delete the images
84
- body := ioutil.NopCloser(bytes.NewReader(m.Message.Data))
+ body := io.NopCloser(bytes.NewReader(m.Message.Data))
85
go func() {
86
// Intentionally don't use the request context, since it terminates but
87
// the background job should still be processing.
0 commit comments