Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
Bump klog to v2 (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardecook committed May 27, 2020
1 parent 6c426d2 commit 4406bd2
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/kubernetes-sigs/go-open-service-broker-client

go 1.14

require k8s.io/klog v0.4.0
require k8s.io/klog/v2 v2.0.0
5 changes: 3 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/go-logr/logr v0.1.0 h1:M1Tv3VzNlEHg6uyACnRdtrploV2P7wZqH8BoQMtz0cg=
github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas=
k8s.io/klog v0.4.0 h1:lCJCxf/LIowc2IGS9TPjWDyXY4nOmdGdfcwwDQCOURQ=
k8s.io/klog v0.4.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=
k8s.io/klog/v2 v2.0.0 h1:Foj74zO6RbjjP4hBEKjnYtjjAhGg4jNynUdYF6fJrok=
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
2 changes: 1 addition & 1 deletion v2/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"net/http"

"k8s.io/klog"
"k8s.io/klog/v2"
)

// internal message body types
Expand Down
2 changes: 1 addition & 1 deletion v2/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"strings"
"time"

"k8s.io/klog"
"k8s.io/klog/v2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion v2/generator/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"sort"

v2 "github.com/kubernetes-sigs/go-open-service-broker-client/v2"
"k8s.io/klog"
"k8s.io/klog/v2"
)

// GetCatalog will produce a valid GetCatalog response based on the generator settings.
Expand Down
2 changes: 1 addition & 1 deletion v2/generator/catalog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"encoding/json"
"testing"

"k8s.io/klog"
"k8s.io/klog/v2"
)

func TestGetCatalog(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion v2/generator/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"encoding/json"
"testing"

"k8s.io/klog"
"k8s.io/klog/v2"
)

func TestCreateGenerator(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion v2/provision_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"net/http"

"k8s.io/klog"
"k8s.io/klog/v2"
)

// internal message body types
Expand Down
2 changes: 1 addition & 1 deletion v2/unbind.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"net/http"

"k8s.io/klog"
"k8s.io/klog/v2"
)

type unbindSuccessResponseBody struct {
Expand Down

0 comments on commit 4406bd2

Please sign in to comment.