Skip to content

Commit

Permalink
Delete extra logs, especially to prevent kubelet which makes many cli…
Browse files Browse the repository at this point in the history
…ents, from overlogging.
  • Loading branch information
jayunit100 committed Dec 22, 2015
1 parent a45c878 commit 4891d82
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/client/unversioned/restclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"strings"
"time"

"github.com/golang/glog"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/unversioned"
"k8s.io/kubernetes/pkg/runtime"
Expand Down Expand Up @@ -94,12 +93,9 @@ func readExpBackoffConfig() BackoffManager {

backoffBaseInt, errBase := strconv.ParseInt(backoffBase, 10, 64)
backoffDurationInt, errDuration := strconv.ParseInt(backoffDuration, 10, 64)

if errBase != nil || errDuration != nil {
glog.V(2).Infof("Configuring no exponential backoff.")
return &NoBackoff{}
} else {
glog.V(2).Infof("Configuring exponential backoff as %v, %v", backoffBaseInt, backoffDurationInt)
return &URLBackoff{
Backoff: util.NewBackOff(
time.Duration(backoffBaseInt)*time.Second,
Expand Down

0 comments on commit 4891d82

Please sign in to comment.