Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Jan 3, 2023
1 parent 59b043b commit 4ed9440
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/gcrcleaner/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"sort"
"strings"
Expand Down Expand Up @@ -81,7 +80,7 @@ func (s *Server) PubSubHandler(cache Cache) http.HandlerFunc {
}

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

0 comments on commit 4ed9440

Please sign in to comment.