Skip to content

Commit

Permalink
Correctly log incoming request
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Sep 7, 2017
1 parent 7b8a921 commit e6fa6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func Authenticate(w http.ResponseWriter, req *http.Request) {
return
}
org := crt.Subject.Organization[0]
log.Infoln("Received token review request for %s@%s", crt.Subject.CommonName, org)
log.Infof("Received token review request for %s@%s", crt.Subject.CommonName, org)

data := auth.TokenReview{}
err := json.NewDecoder(req.Body).Decode(&data)
Expand Down

0 comments on commit e6fa6d8

Please sign in to comment.