Skip to content

Commit c0ab4d3

Browse files
Merge pull request #96 from bparees/race
remove unused counter variable
2 parents 2264729 + b50bcce commit c0ab4d3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/integration/pullthrough/pullthrough_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ func TestPullThroughInsecure(t *testing.T) {
100100
reponame := "testrepo"
101101
repotag := "testtag"
102102
isname := "test/" + reponame
103-
countStat := 0
104103

105104
descriptors := map[string]int64{
106105
"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4": 3000,
@@ -140,7 +139,6 @@ func TestPullThroughInsecure(t *testing.T) {
140139
w.Header().Set("Content-Length", fmt.Sprintf("%d", size))
141140
w.Header().Set("Docker-Content-Digest", dgst)
142141
w.WriteHeader(http.StatusOK)
143-
countStat++
144142
return
145143
}
146144
w.Write(gzippedEmptyTar)

0 commit comments

Comments
 (0)