Unverified Commit 9eb0c356 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #63701 from scf0920/branch-1

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix typo: peirodically->periodically **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents 8cccc022 27dcb1f3
...@@ -168,7 +168,7 @@ func NewContainerLogManager(runtimeService internalapi.RuntimeService, maxSize s ...@@ -168,7 +168,7 @@ func NewContainerLogManager(runtimeService internalapi.RuntimeService, maxSize s
// Start the container log manager. // Start the container log manager.
func (c *containerLogManager) Start() { func (c *containerLogManager) Start() {
// Start a goroutine peirodically does container log rotation. // Start a goroutine periodically does container log rotation.
go wait.Forever(func() { go wait.Forever(func() {
if err := c.rotateLogs(); err != nil { if err := c.rotateLogs(); err != nil {
glog.Errorf("Failed to rotate container logs: %v", err) glog.Errorf("Failed to rotate container logs: %v", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment