Skip to content

Commit

Permalink
martianlog: go lint changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Tanner committed Aug 21, 2015
1 parent cd95042 commit 076b719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions martianlog/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (l *Logger) ModifyRequest(req *http.Request) error {
return err
}

opts := make([]messageview.Option, 0)
var opts []messageview.Option
if l.decode {
opts = append(opts, messageview.Decode())
}
Expand Down Expand Up @@ -142,7 +142,7 @@ func (l *Logger) ModifyResponse(res *http.Response) error {
return err
}

opts := make([]messageview.Option, 0)
var opts []messageview.Option
if l.decode {
opts = append(opts, messageview.Decode())
}
Expand Down

0 comments on commit 076b719

Please sign in to comment.