Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: switch to use k8s.io/mount-utils #191

Merged
merged 1 commit into from
Apr 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
k8s.io/client-go v0.20.0
k8s.io/klog/v2 v2.4.0
k8s.io/kubernetes v1.21.0-alpha.0.0.20201210005053-f58c4d8cd725
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
k8s.io/mount-utils v0.0.0
sigs.k8s.io/yaml v1.2.0
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/nfs/controllerserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"golang.org/x/net/context"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"k8s.io/utils/mount"
mount "k8s.io/mount-utils"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/nfs/fake_mounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"strings"

"k8s.io/utils/mount"
mount "k8s.io/mount-utils"
)

type fakeMounter struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/nfs/fake_mounter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"reflect"
"testing"

"k8s.io/utils/mount"
mount "k8s.io/mount-utils"
)

func TestMount(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/nfs/nfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/container-storage-interface/spec/lib/go/csi"
"k8s.io/klog/v2"
"k8s.io/utils/mount"
mount "k8s.io/mount-utils"
)

type Driver struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/nfs/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"google.golang.org/grpc/status"
"k8s.io/klog/v2"
"k8s.io/kubernetes/pkg/volume"
"k8s.io/utils/mount"
mount "k8s.io/mount-utils"
)

// NodeServer driver
Expand Down
15 changes: 0 additions & 15 deletions vendor/k8s.io/utils/mount/OWNERS

This file was deleted.

18 changes: 0 additions & 18 deletions vendor/k8s.io/utils/mount/doc.go

This file was deleted.

216 changes: 0 additions & 216 deletions vendor/k8s.io/utils/mount/fake_mounter.go

This file was deleted.

Loading