Skip to content

Commit

Permalink
Add log
Browse files Browse the repository at this point in the history
  • Loading branch information
bbedward committed May 29, 2023
1 parent e2c530b commit 7976321
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controller/http_api_c.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ func (hc *HttpController) HandleAction(w http.ResponseWriter, r *http.Request) {
return
}

klog.Infof("Received HTTP action %s", action)

// Trim count if it exists in action, so nobody can overload the node
if val, ok := baseRequest["count"]; ok {
countAsInt, err := strconv.ParseInt(fmt.Sprintf("%v", val), 10, 64)
Expand Down

0 comments on commit 7976321

Please sign in to comment.