mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
chore: Clean up duplicate logs
This commit is contained in:
parent
597a684bb0
commit
39170e2ed6
1 changed files with 0 additions and 1 deletions
|
|
@ -393,7 +393,6 @@ func (im *realImageGCManager) GarbageCollect(ctx context.Context, beganGC time.T
|
|||
amountToFree := capacity*int64(100-im.policy.LowThresholdPercent)/100 - available
|
||||
logger.Info("Disk usage on image filesystem is over the high threshold, trying to free bytes down to the low threshold", "usage", usagePercent, "highThreshold", im.policy.HighThresholdPercent, "amountToFree", amountToFree, "lowThreshold", im.policy.LowThresholdPercent)
|
||||
remainingImages, freed, err := im.freeSpace(ctx, amountToFree, freeTime, images)
|
||||
logger.Info("Disk usage on image filesystem is over the high threshold, trying to free bytes down to the low threshold", "usage", usagePercent, "highThreshold", im.policy.HighThresholdPercent, "amountToFree", amountToFree, "lowThreshold", im.policy.LowThresholdPercent)
|
||||
if err != nil {
|
||||
// Failed to delete images, eg due to a read-only filesystem.
|
||||
return err
|
||||
|
|
|
|||
Loading…
Reference in a new issue