Skip to content

Commit

Permalink
fix: log types
Browse files Browse the repository at this point in the history
Signed-off-by: Dustin Scott <[email protected]>
  • Loading branch information
scottd018 committed Nov 27, 2024
1 parent e4dda79 commit 6a91bcd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,10 @@ func (wh *webhook) Validate(w http.ResponseWriter, r *http.Request) {
available := total - used

wh.log(op).
Str("total", string(total)).
Str("requested", string(requested)).
Str("used", string(used)).
Int("total", total).
Int("available", available).
Int("requested", requested).
Int("used", used).
Msg("capacity values")

// ensure the requested capacity would not exceed the available capacity
Expand Down

0 comments on commit 6a91bcd

Please sign in to comment.