Skip to content

Commit

Permalink
set log level for humanized memory
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian Moisey <[email protected]>
  • Loading branch information
omerap12 and adrianmoisey authored Nov 7, 2024
1 parent ab6d986 commit 0f014bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/pkg/recommender/model/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func ResourcesAsResourceList(resources Resources, humanizeMemory bool) apiv1.Res
if humanizeMemory && !quantity.IsZero() {
rawValues := quantity.Value()
humanizedValue := HumanizeMemoryQuantity(rawValues)
klog.InfoS("Converting raw value to humanized value", "rawValue", rawValues, "humanizedValue", humanizedValue)
klog.V(4).InfoS("Converting raw value to humanized value", "rawValue", rawValues, "humanizedValue", humanizedValue)
quantity = resource.MustParse(humanizedValue)
}
default:
Expand Down

0 comments on commit 0f014bd

Please sign in to comment.