We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1aa61a + 67d9dc1 commit 1a68719Copy full SHA for 1a68719
pkg/blobfuse-proxy/server/server.go
@@ -20,6 +20,7 @@ import (
20
"context"
21
"fmt"
22
"net"
23
+ "os"
24
"os/exec"
25
"strings"
26
"sync"
@@ -86,7 +87,7 @@ func (server *MountServer) MountAzureBlob(_ context.Context,
86
87
cmd = exec.Command("blobfuse", strings.Split(args, " ")...)
88
}
89
- cmd.Env = append(cmd.Env, authEnv...)
90
+ cmd.Env = append(os.Environ(), authEnv...)
91
output, err := cmd.CombinedOutput()
92
if err != nil {
93
klog.Error("blobfuse mount failed: with error:", err.Error())
0 commit comments