Skip to content

Commit

Permalink
Fixed log method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Muller committed May 3, 2018
1 parent e9d645f commit 0952c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3imageserver/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (i *Image) getImage(w *ResponseWriter, r *http.Request, AWSAccess string, A
s := time.Now()

defer func() {
w.log.Printf(">>> DURATION: getImage %s - %v", r.URL, time.Since(s))
w.log(fmt.Sprintf(">>> DURATION: getImage %s - %v", r.URL, time.Since(s)))
}()

if i.CacheEnabled && i.CacheTime > -1 {
Expand Down

0 comments on commit 0952c33

Please sign in to comment.