diff --git a/adaptive_test.go b/adaptive_test.go index bdacc83..7d0124e 100644 --- a/adaptive_test.go +++ b/adaptive_test.go @@ -22,7 +22,7 @@ func TestAdaptivePolicy(t *testing.T) { next = p.Evaluate(UtilizationSystem, limit64MiB/2) require.EqualValues(t, 3*(limit64MiB/4), next) - // at limit64MiB. + // at limit. next = p.Evaluate(UtilizationSystem, limit64MiB) require.EqualValues(t, limit64MiB, next) } diff --git a/watermarks.go b/watermarks.go index ff21bb8..cced767 100644 --- a/watermarks.go +++ b/watermarks.go @@ -29,7 +29,7 @@ type watermarkPolicy struct { var _ Policy = (*watermarkPolicy)(nil) func (w *watermarkPolicy) Evaluate(_ UtilizationType, used uint64) (next uint64) { - Logger.Debugf("watermark policy: evaluating; utilization: %d/%d (used/limit64MiB)", used, w.limit) + Logger.Debugf("watermark policy: evaluating; utilization: %d/%d (used/limit)", used, w.limit) var i int for ; i < len(w.thresholds); i++ { t := w.thresholds[i]