Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
sters committed Mar 1, 2021
1 parent 63e02c7 commit 713668f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onstatic/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func handlePull(res http.ResponseWriter, req *http.Request) {
return
}

zap.L().Info("pull success", zap.String("reponame", reponame))
zap.L().Info("pull success", zap.String("reponame", reponame), zap.String("branchname", branchName))
res.WriteHeader(http.StatusOK)
if _, err := res.Write([]byte(reponame)); err != nil {
zap.L().Error("failed to write stream", zap.Error(err))
Expand Down

0 comments on commit 713668f

Please sign in to comment.