Skip to content

Commit d0ef5fc

Browse files
committed
lets first use blobfuse2 for testing
1 parent 28c74e2 commit d0ef5fc

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pkg/blobfuse-proxy/server/server.go

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@ func (server *MountServer) MountAzureBlob(ctx context.Context,
6565

6666
var cmd *exec.Cmd
6767
var result mount_azure_blob.MountAzureBlobResponse
68-
switch server.blobfuseVersion {
69-
case BlobfuseV1:
70-
cmd = exec.Command("blobfuse", strings.Split(args, " ")...)
71-
case BlobfuseV2:
72-
args = "mount " + args
73-
cmd = exec.Command("blobfuse2", strings.Split(args, " ")...)
74-
}
68+
// switch server.blobfuseVersion {
69+
// case BlobfuseV1:
70+
// cmd = exec.Command("blobfuse", strings.Split(args, " ")...)
71+
// case BlobfuseV2:
72+
// args = "mount " + args
73+
// cmd = exec.Command("blobfuse2", strings.Split(args, " ")...)
74+
// }
75+
args = "mount " + args
76+
cmd = exec.Command("blobfuse2", strings.Split(args, " ")...)
7577

7678
cmd.Env = append(cmd.Env, authEnv...)
7779
klog.Infof("zzzzzzzzzzzzzzz args %v", args)

0 commit comments

Comments
 (0)