Skip to content

Commit

Permalink
removes glog
Browse files Browse the repository at this point in the history
  • Loading branch information
BugRoger committed Dec 5, 2017
1 parent 9ffa1c4 commit 3f08e02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cmd/kubernikus/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"syscall"

"github.com/go-kit/kit/log"
"github.com/golang/glog"
"github.com/spf13/cobra"
"github.com/spf13/pflag"

Expand Down Expand Up @@ -104,7 +103,7 @@ func (o *Options) Run(c *cobra.Command) error {
go metrics.ExposeMetrics(o.MetricPort, stop, wg)

<-sigs // Wait for signals (this hangs until a signal arrives)
glog.Info("Shutting down...")
logger.Log("msg", "shutting down", "v", 1)
close(stop) // Tell goroutines to stop themselves
wg.Wait() // Wait for all to be stopped

Expand Down

0 comments on commit 3f08e02

Please sign in to comment.