Skip to content

Commit 4ed9440

Browse files
committed
Fix import
1 parent 59b043b commit 4ed9440

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/gcrcleaner/server.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import (
2020
"encoding/json"
2121
"fmt"
2222
"io"
23-
"io/ioutil"
2423
"net/http"
2524
"sort"
2625
"strings"
@@ -81,7 +80,7 @@ func (s *Server) PubSubHandler(cache Cache) http.HandlerFunc {
8180
}
8281

8382
// Start a goroutine to delete the images
84-
body := ioutil.NopCloser(bytes.NewReader(m.Message.Data))
83+
body := io.NopCloser(bytes.NewReader(m.Message.Data))
8584
go func() {
8685
// Intentionally don't use the request context, since it terminates but
8786
// the background job should still be processing.

0 commit comments

Comments
 (0)