From f5bb1d9860fe35165db776ff58cf3dcb48972811 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 8 Apr 2020 15:01:33 -0400 Subject: [PATCH] Switch to klog v2 Signed-off-by: Davanum Srinivas --- fake_mounter.go | 2 +- mount_helper_common.go | 2 +- mount_helper_windows.go | 2 +- mount_linux.go | 2 +- mount_windows.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fake_mounter.go b/fake_mounter.go index 8e690bbfc28..f48c2badba6 100644 --- a/fake_mounter.go +++ b/fake_mounter.go @@ -21,7 +21,7 @@ import ( "path/filepath" "sync" - "k8s.io/klog" + "k8s.io/klog/v2" ) // FakeMounter implements mount.Interface for tests. diff --git a/mount_helper_common.go b/mount_helper_common.go index 36bb32b463d..1d40549b5f4 100644 --- a/mount_helper_common.go +++ b/mount_helper_common.go @@ -20,7 +20,7 @@ import ( "fmt" "os" - "k8s.io/klog" + "k8s.io/klog/v2" ) // CleanupMountPoint unmounts the given path and deletes the remaining directory diff --git a/mount_helper_windows.go b/mount_helper_windows.go index 516f970d282..b308ce76d2f 100644 --- a/mount_helper_windows.go +++ b/mount_helper_windows.go @@ -25,7 +25,7 @@ import ( "strings" "syscall" - "k8s.io/klog" + "k8s.io/klog/v2" ) // following failure codes are from https://docs.microsoft.com/en-us/windows/desktop/debug/system-error-codes--1300-1699- diff --git a/mount_linux.go b/mount_linux.go index 4de29ee322d..b7a443fdf6c 100644 --- a/mount_linux.go +++ b/mount_linux.go @@ -27,7 +27,7 @@ import ( "strings" "syscall" - "k8s.io/klog" + "k8s.io/klog/v2" utilexec "k8s.io/utils/exec" utilio "k8s.io/utils/io" ) diff --git a/mount_windows.go b/mount_windows.go index a99fdb9ce5b..85d699696c9 100644 --- a/mount_windows.go +++ b/mount_windows.go @@ -25,7 +25,7 @@ import ( "path/filepath" "strings" - "k8s.io/klog" + "k8s.io/klog/v2" utilexec "k8s.io/utils/exec" "k8s.io/utils/keymutex" utilpath "k8s.io/utils/path"