Skip to content

Commit e19e97e

Browse files
authored
Merge pull request #57 from andyzhangx/klog-v2
chore: move to klog/v2
2 parents 49c69a9 + 4b4ea63 commit e19e97e

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

deploy/example/smb-provisioner/smb-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
labels:
77
app: smb-server
88
spec:
9-
type: ClusterIP # use "LoadBalancer" to get a public ip
9+
type: ClusterIP # use "LoadBalancer" to get a public ip
1010
selector:
1111
app: smb-server
1212
ports:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ require (
1919
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e
2020
google.golang.org/grpc v1.27.0
2121
k8s.io/apimachinery v0.18.2-beta.0
22-
k8s.io/klog v1.0.0
22+
k8s.io/klog/v2 v2.2.0
2323
k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4
2424
sigs.k8s.io/yaml v1.2.0
2525
)

pkg/csi-common/controllerserver-default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package csicommon
1818

1919
import (
20-
"k8s.io/klog"
20+
"k8s.io/klog/v2"
2121

2222
"github.com/container-storage-interface/spec/lib/go/csi"
2323
"golang.org/x/net/context"

pkg/csi-common/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package csicommon
1818

1919
import (
2020
"github.com/container-storage-interface/spec/lib/go/csi"
21-
"k8s.io/klog"
21+
"k8s.io/klog/v2"
2222

2323
"google.golang.org/grpc/codes"
2424
"google.golang.org/grpc/status"

pkg/csi-common/identityserver-default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"golang.org/x/net/context"
2222
"google.golang.org/grpc/codes"
2323
"google.golang.org/grpc/status"
24-
"k8s.io/klog"
24+
"k8s.io/klog/v2"
2525
)
2626

2727
type DefaultIdentityServer struct {

pkg/csi-common/nodeserver-default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package csicommon
1919
import (
2020
"github.com/container-storage-interface/spec/lib/go/csi"
2121
"golang.org/x/net/context"
22-
"k8s.io/klog"
22+
"k8s.io/klog/v2"
2323
)
2424

2525
type DefaultNodeServer struct {

pkg/csi-common/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"time"
2525

2626
"google.golang.org/grpc"
27-
"k8s.io/klog"
27+
"k8s.io/klog/v2"
2828

2929
"github.com/container-storage-interface/spec/lib/go/csi"
3030
)

pkg/csi-common/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"github.com/container-storage-interface/spec/lib/go/csi"
2222
"golang.org/x/net/context"
2323
"google.golang.org/grpc"
24-
"k8s.io/klog"
24+
"k8s.io/klog/v2"
2525
"regexp"
2626
"strings"
2727
)

pkg/csi-common/utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"context"
2222
"flag"
2323
"google.golang.org/grpc"
24-
"k8s.io/klog"
24+
"k8s.io/klog/v2"
2525
"testing"
2626

2727
"github.com/container-storage-interface/spec/lib/go/csi"

pkg/mounter/safe_mounter_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
smbv1alpha1 "github.com/kubernetes-csi/csi-proxy/client/api/smb/v1alpha1"
3232
smbclientv1alpha1 "github.com/kubernetes-csi/csi-proxy/client/groups/smb/v1alpha1"
3333

34-
"k8s.io/klog"
34+
"k8s.io/klog/v2"
3535
utilexec "k8s.io/utils/exec"
3636
"k8s.io/utils/mount"
3737
)

0 commit comments

Comments
 (0)