Skip to content

Commit

Permalink
Edited TODO cassette.replayResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
seborama authored and seborama committed Jan 10, 2019
1 parent 8ab41fb commit fd2c6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cassette.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (k7 *cassette) isLongPlay() bool {
return strings.HasSuffix(k7.Name, ".gz")
}

// TODO - this is wrong - the cassette should just replay, not replace the track resp.req with the live req
// TODO - this feels wrong - the cassette should just replay, not replace the track resp.req with the live req
// if it must be done, then it should be done somewhere else, either vcrTransport (or PCB, to be confirmed)
func (k7 *cassette) replayResponse(trackNumber int, req *http.Request) (*http.Response, error) {
if trackNumber >= len(k7.Tracks) {
Expand Down

0 comments on commit fd2c6f2

Please sign in to comment.