From 9c7176dbb4fb989853c7fef037bdd0ab2e82a29a Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 17 Dec 2020 18:31:48 +0530 Subject: [PATCH] rbd: update mount packges in import path mount packges is moved from k8s.io/utils/mount to a new repository k8s.io/mount-utils. updated code to use the same. Signed-off-by: Madhu Rajanna --- internal/rbd/driver.go | 2 +- internal/rbd/nodeserver.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/rbd/driver.go b/internal/rbd/driver.go index c92ac5cfe..d4a36f6cd 100644 --- a/internal/rbd/driver.go +++ b/internal/rbd/driver.go @@ -22,7 +22,7 @@ import ( "github.com/ceph/ceph-csi/internal/util" "github.com/container-storage-interface/spec/lib/go/csi" - "k8s.io/utils/mount" + mount "k8s.io/mount-utils" ) const ( diff --git a/internal/rbd/nodeserver.go b/internal/rbd/nodeserver.go index 75072e2ca..b52c8b0b8 100644 --- a/internal/rbd/nodeserver.go +++ b/internal/rbd/nodeserver.go @@ -33,8 +33,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "k8s.io/kubernetes/pkg/util/resizefs" + mount "k8s.io/mount-utils" utilexec "k8s.io/utils/exec" - "k8s.io/utils/mount" ) // NodeServer struct of ceph rbd driver with supported methods of CSI