mirror of
https://github.com/kubernetes-csi/csi-driver-nvmf.git
synced 2025-09-10 01:19:02 +00:00
refactor: refactor some code to make it more readable
1. modify go.mod module name. 2. move disk.go and mounter.go into nvmf.go 3. make Connector as an objective Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
This commit is contained in:
@@ -24,12 +24,11 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/kubernetes-csi/csi-driver-nvmf/pkg/utils"
|
||||
"github.com/kubernetes-csi/csi-lib-utils/protosanitizer"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"google.golang.org/grpc"
|
||||
"k8s.io/klog"
|
||||
|
||||
"csi-driver-nvmf/pkg/utils"
|
||||
)
|
||||
|
||||
func waitForPathToExist(devicePath string, maxRetries, intervalSeconds int, deviceTransport string) (bool, error) {
|
||||
|
Reference in New Issue
Block a user