Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix logging calls #3410

Merged
merged 1 commit into from
Nov 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/ingress/controller/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ type NGINXController struct {

// Start starts a new NGINX master process running in the foreground.
func (n *NGINXController) Start() {
glog.Infof("Starting NGINX Ingress controller")
glog.Info("Starting NGINX Ingress controller")

n.store.Run(n.stopCh)

Expand Down Expand Up @@ -336,7 +336,7 @@ func (n *NGINXController) Stop() error {
return fmt.Errorf("shutdown already in progress")
}

glog.Infof("Shutting down controller queues")
glog.Info("Shutting down controller queues")
close(n.stopCh)
go n.syncQueue.Shutdown()
if n.syncStatus != nil {
Expand Down
4 changes: 2 additions & 2 deletions internal/ingress/status/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (s statusSync) Run() {
}, stopCh)
},
OnStoppedLeading: func() {
glog.V(2).Infof("I am not status update leader anymore")
glog.V(2).Info("I am not status update leader anymore")
close(stopCh)

// cancel the context
Expand Down Expand Up @@ -197,7 +197,7 @@ func (s statusSync) Shutdown() {
return
}

glog.Infof("updating status of Ingress rules (remove)")
glog.Info("updating status of Ingress rules (remove)")

addrs, err := s.runningAddresses()
if err != nil {
Expand Down