switch over k/k to use klog v2

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2020-04-17 15:25:06 -04:00
parent 9006b2db69
commit 442a69c3bd
957 changed files with 998 additions and 1326 deletions

View File

@@ -27,7 +27,7 @@ import (
// libs that provide registration functions
"k8s.io/component-base/logs"
"k8s.io/component-base/version/verflag"
"k8s.io/klog"
"k8s.io/klog/v2"
// ensure libs have a chance to globally register their flags
_ "k8s.io/kubernetes/pkg/credentialprovider/azure"

View File

@@ -21,7 +21,7 @@ package app
import (
"k8s.io/component-base/featuregate"
"k8s.io/csi-translation-lib/plugins"
"k8s.io/klog"
"k8s.io/klog/v2"
"k8s.io/kubernetes/pkg/features"
"k8s.io/kubernetes/pkg/volume"
"k8s.io/kubernetes/pkg/volume/awsebs"

View File

@@ -34,7 +34,7 @@ import (
"github.com/coreos/go-systemd/daemon"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"k8s.io/klog"
"k8s.io/klog/v2"
"k8s.io/utils/mount"
v1 "k8s.io/api/core/v1"

View File

@@ -17,7 +17,7 @@ limitations under the License.
package app
import (
"k8s.io/klog"
"k8s.io/klog/v2"
"k8s.io/utils/inotify"
)