util: remove unwanted import string from module dependencies

There is no need for an extra import string when the go mod package
itself declared in the same.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2021-03-24 18:43:56 +05:30 committed by mergify[bot]
parent eea97ca014
commit 82bc993b32
7 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,7 @@ import (
"github.com/ceph/ceph-csi/internal/rbd"
"github.com/ceph/ceph-csi/internal/util"
klog "k8s.io/klog/v2"
"k8s.io/klog/v2"
)
const (

View File

@ -11,7 +11,7 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"k8s.io/kubernetes/test/e2e/framework"
config "k8s.io/kubernetes/test/e2e/framework/config"
"k8s.io/kubernetes/test/e2e/framework/config"
)
func init() {

View File

@ -22,7 +22,7 @@ import (
"github.com/container-storage-interface/spec/lib/go/csi"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
klog "k8s.io/klog/v2"
"k8s.io/klog/v2"
"github.com/ceph/ceph-csi/internal/util"
)

View File

@ -27,7 +27,7 @@ import (
"github.com/container-storage-interface/spec/lib/go/csi"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
klog "k8s.io/klog/v2"
"k8s.io/klog/v2"
"k8s.io/kubernetes/pkg/volume"
)

View File

@ -29,7 +29,7 @@ import (
"github.com/kube-storage/spec/lib/go/replication"
"github.com/prometheus/client_golang/prometheus"
"google.golang.org/grpc"
klog "k8s.io/klog/v2"
"k8s.io/klog/v2"
"github.com/ceph/ceph-csi/internal/util"
)

View File

@ -30,7 +30,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
klog "k8s.io/klog/v2"
"k8s.io/klog/v2"
)
func parseEndpoint(ep string) (string, string, error) {

View File

@ -17,7 +17,7 @@ import (
"context"
"fmt"
klog "k8s.io/klog/v2"
"k8s.io/klog/v2"
)
// enum defining logging levels.