From 713668fccdc992660be471c24932b520e26fad7e Mon Sep 17 00:00:00 2001 From: sters Date: Tue, 2 Mar 2021 02:02:46 +0900 Subject: [PATCH] add log --- onstatic/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onstatic/handler.go b/onstatic/handler.go index 313522e..2e443e8 100644 --- a/onstatic/handler.go +++ b/onstatic/handler.go @@ -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))