Skip to content

Commit

Permalink
use practo/klog/v2 instead of kubernetes/klog/v2
Browse files Browse the repository at this point in the history
till hook support is live
  • Loading branch information
alok87 committed Jun 23, 2020
1 parent b2d7f66 commit 46d4ac3
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmd/workerpodautoscaler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"flag"

"k8s.io/klog/v2"
"github.com/practo/klog/v2"

"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion cmd/workerpodautoscaler/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
"k8s.io/klog/v2"
"github.com/practo/klog/v2"

"github.com/practo/k8s-worker-pod-autoscaler/pkg/apis/workerpodautoscaler/v1alpha1"
"github.com/practo/k8s-worker-pod-autoscaler/pkg/cmdutil"
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/workerpodautoscaler/v1alpha1/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v1alpha1
import (
"reflect"

"k8s.io/klog/v2"
"github.com/practo/klog/v2"

"github.com/practo/k8s-worker-pod-autoscaler/pkg/apis/workerpodautoscaler"

Expand Down
2 changes: 1 addition & 1 deletion pkg/cmdutil/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

homedir "github.com/mitchellh/go-homedir"
"github.com/spf13/viper"
"k8s.io/klog/v2"
"github.com/practo/klog/v2"
)

// InitConfig constructs the configuration from a local configuration file
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"k8s.io/client-go/tools/record"
"k8s.io/client-go/util/retry"
"k8s.io/client-go/util/workqueue"
"k8s.io/klog/v2"
"github.com/practo/klog/v2"

v1alpha1 "github.com/practo/k8s-worker-pod-autoscaler/pkg/apis/workerpodautoscaler/v1alpha1"
clientset "github.com/practo/k8s-worker-pod-autoscaler/pkg/generated/clientset/versioned"
Expand Down
2 changes: 1 addition & 1 deletion pkg/queue/beanstalk.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

"github.com/beanstalkd/go-beanstalk"
"k8s.io/klog/v2"
"github.com/practo/klog/v2"
)

// Beanstalk is used to by the Poller to get the queue
Expand Down
2 changes: 1 addition & 1 deletion pkg/queue/beanstalk_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package queue

import (
"k8s.io/klog/v2"
"github.com/practo/klog/v2"
"os/exec"
"testing"
"time"
Expand Down
2 changes: 1 addition & 1 deletion pkg/queue/poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package queue
import (
"time"

"k8s.io/klog/v2"
"github.com/practo/klog/v2"
)

// Poller is the generic poller which manages polling of queues from
Expand Down
2 changes: 1 addition & 1 deletion pkg/queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/url"
"strings"

"k8s.io/klog/v2"
"github.com/practo/klog/v2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/queue/sqs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"k8s.io/klog/v2"
"github.com/practo/klog/v2"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
Expand Down

0 comments on commit 46d4ac3

Please sign in to comment.