mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 23:57:42 +01:00
remove useless log
This commit is contained in:
parent
1018991312
commit
ac17546d38
@ -39,7 +39,6 @@ const manifestPattern = `^application/vnd.docker.distribution.manifest.v\d\+json
|
|||||||
// Post handles POST request, and records audit log or refreshes cache based on event.
|
// Post handles POST request, and records audit log or refreshes cache based on event.
|
||||||
func (n *NotificationHandler) Post() {
|
func (n *NotificationHandler) Post() {
|
||||||
var notification models.Notification
|
var notification models.Notification
|
||||||
log.Infof("request body in string: %s", string(n.Ctx.Input.CopyBody(1<<32)))
|
|
||||||
err := json.Unmarshal(n.Ctx.Input.CopyBody(1<<32), ¬ification)
|
err := json.Unmarshal(n.Ctx.Input.CopyBody(1<<32), ¬ification)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user